aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/tutorial.el
diff options
context:
space:
mode:
authorJuanma Barranquero2009-10-02 03:48:36 +0000
committerJuanma Barranquero2009-10-02 03:48:36 +0000
commit32226619c5e563c384372b566000e5d37d783a61 (patch)
tree216af4221d2ba868b45162679ce3a0462985c422 /lisp/tutorial.el
parent12a3c28c787e23801f40ea557a5c00b538968a52 (diff)
downloademacs-32226619c5e563c384372b566000e5d37d783a61.tar.gz
emacs-32226619c5e563c384372b566000e5d37d783a61.zip
Use `called-interactively-p' instead of `interactive-p'.
Diffstat (limited to 'lisp/tutorial.el')
-rw-r--r--lisp/tutorial.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/tutorial.el b/lisp/tutorial.el
index 3290d67a99a..61c73fdd3c1 100644
--- a/lisp/tutorial.el
+++ b/lisp/tutorial.el
@@ -74,7 +74,7 @@ Where
74 for the function it is remapped to)" 74 for the function it is remapped to)"
75 (with-output-to-temp-buffer (help-buffer) 75 (with-output-to-temp-buffer (help-buffer)
76 (help-setup-xref (list #'tutorial--describe-nonstandard-key value) 76 (help-setup-xref (list #'tutorial--describe-nonstandard-key value)
77 (interactive-p)) 77 (called-interactively-p 'interactive))
78 (with-current-buffer (help-buffer) 78 (with-current-buffer (help-buffer)
79 (insert 79 (insert
80 "Your Emacs customizations override the default binding for this key:" 80 "Your Emacs customizations override the default binding for this key:"
@@ -323,7 +323,7 @@ LEFT and RIGHT are the elements to compare."
323 "Give detailed help about changed keys." 323 "Give detailed help about changed keys."
324 (with-output-to-temp-buffer (help-buffer) 324 (with-output-to-temp-buffer (help-buffer)
325 (help-setup-xref (list #'tutorial--detailed-help button) 325 (help-setup-xref (list #'tutorial--detailed-help button)
326 (interactive-p)) 326 (called-interactively-p 'interactive))
327 (with-current-buffer (help-buffer) 327 (with-current-buffer (help-buffer)
328 (let* ((tutorial-buffer (button-get button 'tutorial-buffer)) 328 (let* ((tutorial-buffer (button-get button 'tutorial-buffer))
329 (explain-key-desc (button-get button 'explain-key-desc)) 329 (explain-key-desc (button-get button 'explain-key-desc))