Mercurial > emacs
changeset 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 | 32198f207db2 |
children | 43e756c38f4f |
files | lisp/startup.el |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
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)