diff options
| author | Richard M. Stallman | 2001-11-18 06:48:18 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2001-11-18 06:48:18 +0000 |
| commit | 70b199c35a3960b2b9a49f0a8efbc3ef6202f9d4 (patch) | |
| tree | 49a0ceac610ad61100a5d14d4c72d55295e93ecc | |
| parent | 5bcf005469998ba44f13880e68c918bd7bc96053 (diff) | |
| download | emacs-70b199c35a3960b2b9a49f0a8efbc3ef6202f9d4.tar.gz emacs-70b199c35a3960b2b9a49f0a8efbc3ef6202f9d4.zip | |
(command-line): Set abbrevs-changed to nil after
reading the init file and the abbrevs file.
| -rw-r--r-- | lisp/startup.el | 4 |
1 files changed, 4 insertions, 0 deletions
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'." | |||
| 941 | (if (file-exists-p abbrev-file-name) | 941 | (if (file-exists-p abbrev-file-name) |
| 942 | (quietly-read-abbrev-file abbrev-file-name)) | 942 | (quietly-read-abbrev-file abbrev-file-name)) |
| 943 | 943 | ||
| 944 | ;; If the abbrevs came entirely from the init file or the | ||
| 945 | ;; abbrevs file, they do not need saving. | ||
| 946 | (setq abbrevs-changed nil) | ||
| 947 | |||
| 944 | ;; If we can tell that the init file altered debug-on-error, | 948 | ;; If we can tell that the init file altered debug-on-error, |
| 945 | ;; arrange to preserve the value that it set up. | 949 | ;; arrange to preserve the value that it set up. |
| 946 | (or (eq debug-on-error debug-on-error-initial) | 950 | (or (eq debug-on-error debug-on-error-initial) |