summaryrefslogtreecommitdiff
path: root/lisp/net/xesam.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/net/xesam.el')
-rw-r--r--lisp/net/xesam.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/net/xesam.el b/lisp/net/xesam.el
index b4d61c9c63d..97ecd1d43c0 100644
--- a/lisp/net/xesam.el
+++ b/lisp/net/xesam.el
@@ -502,7 +502,7 @@ engine specific, widget :notify function to visualize xesam:url."
'face 'xesam-mode-line
'help-echo (when xesam-debug xesam-xml-string)))))))
- (when (not (interactive-p))
+ (when (not (called-interactively-p 'interactive))
;; Initialize buffer.
(setq buffer-read-only t)
(let ((inhibit-read-only t))