From 70b199c35a3960b2b9a49f0a8efbc3ef6202f9d4 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 18 Nov 2001 06:48:18 +0000 Subject: [PATCH] (command-line): Set abbrevs-changed to nil after reading the init file and the abbrevs file. --- lisp/startup.el | 4 ++++ 1 file changed, 4 insertions(+) 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) -- 2.39.2