summaryrefslogtreecommitdiff
path: root/lisp/shadowfile.el
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2009-10-02 03:48:36 +0000
committerJuanma Barranquero <lekktu@gmail.com>2009-10-02 03:48:36 +0000
commit32226619c5e563c384372b566000e5d37d783a61 (patch)
tree216af4221d2ba868b45162679ce3a0462985c422 /lisp/shadowfile.el
parent12a3c28c787e23801f40ea557a5c00b538968a52 (diff)
downloademacs-32226619c5e563c384372b566000e5d37d783a61.tar.gz
Use `called-interactively-p' instead of `interactive-p'.
Diffstat (limited to 'lisp/shadowfile.el')
-rw-r--r--lisp/shadowfile.el2
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