before saving abbrevs if `save-abbrevs' has the value `silently'.
+2001-12-04 Juanma Barranquero <lektu@terra.es>
+
+ * files.el (save-abbrevs, save-some-buffers): Don't ask the user
+ before saving abbrevs if `save-abbrevs' has the value `silently'.
+
2001-12-04 Andreas Schwab <schwab@suse.de>
* xt-mouse.el (turn-off-xterm-mouse-tracking): Doc fix.
:version "21.1")
(defcustom save-abbrevs t
- "*Non-nil means save word abbrevs too when files are saved."
- :type 'boolean
+ "*Non-nil means save word abbrevs too when files are saved.
+If `silently', don't ask the user before saving."
+ :type '(choice (const t) (const nil) (const silently))
:group 'abbrev)
(defcustom find-file-run-dired t
(and save-abbrevs abbrevs-changed
(progn
(if (or arg
+ (eq save-abbrevs 'silently)
(y-or-n-p (format "Save abbrevs in %s? "
abbrev-file-name)))
(write-abbrev-file nil))