Update defaults: abbrev
This commit is contained in:
16
init.el
16
init.el
@@ -108,14 +108,9 @@
|
|||||||
;; multiple sources provide it. It concatenates the results.
|
;; multiple sources provide it. It concatenates the results.
|
||||||
(setq eldoc-documentation-strategy 'eldoc-documentation-compose-eagerly)
|
(setq eldoc-documentation-strategy 'eldoc-documentation-compose-eagerly)
|
||||||
|
|
||||||
;; For some reason, `abbrev_defs` is located in ~/.emacs.d/abbrev_defs, even
|
|
||||||
;; when `user-emacs-directory` is modified. This ensures the abbrev file is
|
|
||||||
;; correctly located based on the updated `user-emacs-directory`.
|
|
||||||
(setq abbrev-file-name (expand-file-name "abbrev_defs" user-emacs-directory))
|
|
||||||
|
|
||||||
;; Disable truncation of printed s-expressions in the message buffer
|
;; Disable truncation of printed s-expressions in the message buffer
|
||||||
(setq eval-expression-print-length nil
|
(setq eval-expression-print-length nil
|
||||||
eval-expression-print-level nil)
|
eval-expression-print-level nil)
|
||||||
|
|
||||||
;;; Files
|
;;; Files
|
||||||
|
|
||||||
@@ -534,4 +529,13 @@
|
|||||||
(setq xref-show-definitions-function #'xref-show-definitions-completing-read
|
(setq xref-show-definitions-function #'xref-show-definitions-completing-read
|
||||||
xref-show-xrefs-function #'xref-show-definitions-completing-read)
|
xref-show-xrefs-function #'xref-show-definitions-completing-read)
|
||||||
|
|
||||||
|
;;; abbrev
|
||||||
|
|
||||||
|
;; Ensure `abbrev_defs` is stored in the correct location when
|
||||||
|
;; `user-emacs-directory` is modified, as it defaults to ~/.emacs.d/abbrev_defs
|
||||||
|
;; regardless of the change.
|
||||||
|
(setq abbrev-file-name (expand-file-name "abbrev_defs" user-emacs-directory))
|
||||||
|
|
||||||
|
(setq save-abbrevs 'silently)
|
||||||
|
|
||||||
;;; init.el ends here
|
;;; init.el ends here
|
||||||
|
|||||||
Reference in New Issue
Block a user