Use called-interactively-p' instead of
interactive-p'.
This commit is contained in:
parent
12a3c28c78
commit
32226619c5
81 changed files with 375 additions and 204 deletions
|
@ -505,7 +505,7 @@ Return FILE if there was no autoload cookie in it, else nil."
|
|||
(no-autoloads (autoload-generate-file-autoloads file)))
|
||||
(if autoload-modified-buffers
|
||||
(if save-after (autoload-save-buffers))
|
||||
(if (interactive-p)
|
||||
(if (called-interactively-p 'interactive)
|
||||
(message "Autoload section for %s is up to date." file)))
|
||||
(if no-autoloads file)))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue