diff options
author | Juanma Barranquero <lekktu@gmail.com> | 2009-10-02 03:48:36 +0000 |
---|---|---|
committer | Juanma Barranquero <lekktu@gmail.com> | 2009-10-02 03:48:36 +0000 |
commit | 32226619c5e563c384372b566000e5d37d783a61 (patch) | |
tree | 216af4221d2ba868b45162679ce3a0462985c422 /lisp/recentf.el | |
parent | 12a3c28c787e23801f40ea557a5c00b538968a52 (diff) | |
download | emacs-32226619c5e563c384372b566000e5d37d783a61.tar.gz |
Use `called-interactively-p' instead of `interactive-p'.
Diffstat (limited to 'lisp/recentf.el')
-rw-r--r-- | lisp/recentf.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/recentf.el b/lisp/recentf.el index 2a6955f88b8..81485a3190b 100644 --- a/lisp/recentf.el +++ b/lisp/recentf.el @@ -1357,7 +1357,7 @@ that were operated on recently." (dolist (hook recentf-used-hooks) (apply hook-setup hook))) (run-hooks 'recentf-mode-hook) - (when (interactive-p) + (when (called-interactively-p 'interactive) (message "Recentf mode %sabled" (if recentf-mode "en" "dis")))) recentf-mode) |