I am using Spacemacs and it always ask me to save .cache/abbrev_defs
which is very annoying.
I tried to put (abbrev-mode -1)
in dotspacemacs/user-config
function. But it still ask for save the abbrev_defs file.
Emacs Stack Exchange is a question and answer site for those using, extending or developing Emacs. It only takes a minute to sign up.
Sign up to join this communityYou disable abbrev-mode
the same way you disable any minor mode.
Interactively:
M-- abbrev-mode
From Lisp:
(abbrev-mode -1)
C-h f abbrev-mode
tells you:
abbrev-mode
is an interactive compiled Lisp function inabbrev.el
.
(abbrev-mode &optional ARG)
Toggle Abbrev mode in the current buffer.
With a prefix argument
ARG
, enable Abbrev mode ifARG
is positive, and disable it otherwise. If called from Lisp, enable Abbrev mode ifARG
is omitted ornil
.In Abbrev mode, inserting an abbreviation causes it to expand and be replaced by its expansion.
(setq save-abbrevs 'silently)