[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 5cc3c13: If autoloads buffer is unchanged, mark it
From: |
Stefan Monnier |
Subject: |
[Emacs-diffs] master 5cc3c13: If autoloads buffer is unchanged, mark it as such (bug#23692) |
Date: |
Tue, 11 Oct 2016 19:56:30 +0000 (UTC) |
branch: master
commit 5cc3c13d164e392218a4dbc277fdab8c757a91af
Author: Stefan Monnier <address@hidden>
Commit: Stefan Monnier <address@hidden>
If autoloads buffer is unchanged, mark it as such (bug#23692)
* lisp/emacs-lisp/autoload.el (update-directory-autoloads):
If autoloads buffer is unchanged, mark it as such (bug#23692).
---
lisp/emacs-lisp/autoload.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lisp/emacs-lisp/autoload.el b/lisp/emacs-lisp/autoload.el
index aa58f7b..426601c 100644
--- a/lisp/emacs-lisp/autoload.el
+++ b/lisp/emacs-lisp/autoload.el
@@ -1112,7 +1112,8 @@ write its autoloads into the specified file instead."
;; Don't modify the file if its content has not been changed, so `make'
;; dependencies don't trigger unnecessarily.
- (when changed
+ (if (not changed)
+ (set-buffer-modified-p nil)
(let ((version-control 'never))
(save-buffer)))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 5cc3c13: If autoloads buffer is unchanged, mark it as such (bug#23692),
Stefan Monnier <=