Browse Source

abbrev in its own use-package block

master
Marc 3 years ago
parent
commit
5e224cf2b7
1 changed files with 11 additions and 2 deletions
  1. 13
      init.org

13
init.org

@ -178,10 +178,8 @@ Maybe turn it on again at some point before the next major emacs upgrade
"[/\\]\\.elpa/"))) "[/\\]\\.elpa/")))
(setq custom-file (concat MY--PATH_USER_LOCAL "custom.el")) ;; don't spam init.e with saved customization settings (setq custom-file (concat MY--PATH_USER_LOCAL "custom.el")) ;; don't spam init.e with saved customization settings
(setq abbrev-file-name (concat MY--PATH_USER_GLOBAL "abbrev_defs"))
(setq backup-directory-alist `((".*" . ,temporary-file-directory))) (setq backup-directory-alist `((".*" . ,temporary-file-directory)))
(setq auto-save-file-name-transforms `((".*" ,temporary-file-directory))) (setq auto-save-file-name-transforms `((".*" ,temporary-file-directory)))
(setq save-abbrevs 'silently) ;; don't bother me with asking for abbrev saving
(setq-default create-lockfiles nil) ;; disable lock files, can cause trouble in e.g. lsp-mode (setq-default create-lockfiles nil) ;; disable lock files, can cause trouble in e.g. lsp-mode
(defalias 'yes-or-no-p 'y-or-n-p) ;; answer with y and n (defalias 'yes-or-no-p 'y-or-n-p) ;; answer with y and n
(setq custom-safe-themes t) ;; don't ask me if I want to load a theme (setq custom-safe-themes t) ;; don't ask me if I want to load a theme
@ -404,6 +402,17 @@ Windows Theme:
(setq which-key-idle-delay 0.5)) (setq which-key-idle-delay 0.5))
#+END_SRC #+END_SRC
* abbrev
#+begin_src emacs-lisp
(use-package abbrev
:diminish abbrev-mode
:init
(setq abbrev-file-name (concat MY--PATH_USER_GLOBAL "abbrev_tables.el"))
:config
(if (file-exists-p abbrev-file-name)
(quietly-read-abbrev-file))
(setq save-abbrevs 'silently)) ;; don't bother me with asking for abbrev saving
#+end_src
* Evil * Evil
:PROPERTIES: :PROPERTIES:
:ID: 80ca70e2-a146-46db-b581-418d655dc1fc :ID: 80ca70e2-a146-46db-b581-418d655dc1fc

Loading…
Cancel
Save