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/shadowfile.el | |
parent | 12a3c28c787e23801f40ea557a5c00b538968a52 (diff) | |
download | emacs-32226619c5e563c384372b566000e5d37d783a61.tar.gz emacs-32226619c5e563c384372b566000e5d37d783a61.tar.bz2 emacs-32226619c5e563c384372b566000e5d37d783a61.zip |
Use `called-interactively-p' instead of `interactive-p'.
Diffstat (limited to 'lisp/shadowfile.el')
-rw-r--r-- | lisp/shadowfile.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/shadowfile.el b/lisp/shadowfile.el index aa99b1e785e..7cd0e325da0 100644 --- a/lisp/shadowfile.el +++ b/lisp/shadowfile.el @@ -510,7 +510,7 @@ Pending copies are stored in variable `shadow-files-to-copy', and in call it manually." (interactive "P") (if (not shadow-files-to-copy) - (if (interactive-p) + (if (called-interactively-p 'interactive) (message "No files need to be shadowed.")) (save-excursion (map-y-or-n-p (function |