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).
This commit is contained in:
parent
8b4aebf455
commit
5cc3c13d16
1 changed files with 2 additions and 1 deletions
|
@ -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)))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue