summaryrefslogtreecommitdiff
path: root/lisp/net/quickurl.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/net/quickurl.el
parent12a3c28c787e23801f40ea557a5c00b538968a52 (diff)
downloademacs-32226619c5e563c384372b566000e5d37d783a61.tar.gz
emacs-32226619c5e563c384372b566000e5d37d783a61.tar.bz2
emacs-32226619c5e563c384372b566000e5d37d783a61.zip
Use `called-interactively-p' instead of `interactive-p'.
Diffstat (limited to 'lisp/net/quickurl.el')
-rw-r--r--lisp/net/quickurl.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/net/quickurl.el b/lisp/net/quickurl.el
index 96e79cd15ce..8a7e73fa150 100644
--- a/lisp/net/quickurl.el
+++ b/lisp/net/quickurl.el
@@ -368,7 +368,7 @@ is decided."
(quickurl-load-urls)
(let* ((current-url (quickurl-find-url word))
(add-it (if current-url
- (if (interactive-p)
+ (if (called-interactively-p 'interactive)
(y-or-n-p (format "\"%s\" exists, replace URL? " word))
t)
t)))
@@ -382,7 +382,7 @@ is decided."
(quickurl-save-urls)
(when (get-buffer quickurl-list-buffer-name)
(quickurl-list-populate-buffer))
- (when (interactive-p)
+ (when (called-interactively-p 'interactive)
(message "Added %s" url))))))
;;;###autoload