]> git.eshelyaron.com Git - emacs.git/commitdiff
(command-line): Set abbrevs-changed to nil after
authorRichard M. Stallman <rms@gnu.org>
Sun, 18 Nov 2001 06:48:18 +0000 (06:48 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 18 Nov 2001 06:48:18 +0000 (06:48 +0000)
reading the init file and the abbrevs file.

lisp/startup.el

index 0dd6be8935033f550b218dbe3d847552650d261c..4101091734e4753823ee2936cd207eb4afcd2190 100644 (file)
@@ -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)