diff options
author | Juanma Barranquero <lekktu@gmail.com> | 2009-10-02 03:48:36 +0000 |
---|---|---|
committer | Juanma Barranquero <lekktu@gmail.com> | 2009-10-02 03:48:36 +0000 |
commit | 4cf385d68a025220b1370304b171c08d8724f57d (patch) | |
tree | 726bf99b0f3c292be04d43402e132b00ed8f21b8 /lisp/tutorial.el | |
parent | 3425f5f89fb8c45afed4cd00f22fe73417a1e530 (diff) | |
download | emacs-4cf385d68a025220b1370304b171c08d8724f57d.tar.gz |
Use `called-interactively-p' instead of `interactive-p'.
Diffstat (limited to 'lisp/tutorial.el')
-rw-r--r-- | lisp/tutorial.el | 4 |
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 for the function it is remapped to)" (with-output-to-temp-buffer (help-buffer) (help-setup-xref (list #'tutorial--describe-nonstandard-key value) - (interactive-p)) + (called-interactively-p 'interactive)) (with-current-buffer (help-buffer) (insert "Your Emacs customizations override the default binding for this key:" @@ -323,7 +323,7 @@ LEFT and RIGHT are the elements to compare." "Give detailed help about changed keys." (with-output-to-temp-buffer (help-buffer) (help-setup-xref (list #'tutorial--detailed-help button) - (interactive-p)) + (called-interactively-p 'interactive)) (with-current-buffer (help-buffer) (let* ((tutorial-buffer (button-get button 'tutorial-buffer)) (explain-key-desc (button-get button 'explain-key-desc)) |