diff lisp/startup.el @ 41231:8ea2b10d5a82

(command-line): Set abbrevs-changed to nil after reading the init file and the abbrevs file.
author Richard M. Stallman <rms@gnu.org>
date Sun, 18 Nov 2001 06:48:18 +0000
parents b36db0352ec7
children 9c8e073f49db
line wrap: on
line diff
--- a/lisp/startup.el	Sun Nov 18 06:47:21 2001 +0000
+++ b/lisp/startup.el	Sun Nov 18 06:48:18 2001 +0000
@@ -941,6 +941,10 @@
 	(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)