From: Richard M. Stallman Date: Sun, 18 Nov 2001 06:48:18 +0000 (+0000) Subject: (command-line): Set abbrevs-changed to nil after X-Git-Tag: ttn-vms-21-2-B4~18410 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=70b199c35a3960b2b9a49f0a8efbc3ef6202f9d4;p=emacs.git (command-line): Set abbrevs-changed to nil after reading the init file and the abbrevs file. --- diff --git a/lisp/startup.el b/lisp/startup.el index 0dd6be89350..4101091734e 100644 --- a/lisp/startup.el +++ b/lisp/startup.el @@ -941,6 +941,10 @@ or `CVS', and any subdirectory that contains a file named `.nosearch'." (if (file-exists-p abbrev-file-name) (quietly-read-abbrev-file abbrev-file-name)) + ;; If the abbrevs came entirely from the init file or the + ;; abbrevs file, they do not need saving. + (setq abbrevs-changed nil) + ;; If we can tell that the init file altered debug-on-error, ;; arrange to preserve the value that it set up. (or (eq debug-on-error debug-on-error-initial)