summaryrefslogtreecommitdiff
path: root/lisp/shadowfile.el
diff options
context:
space:
mode:
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