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 | 32226619c5e563c384372b566000e5d37d783a61 (patch) | |
tree | 216af4221d2ba868b45162679ce3a0462985c422 /lisp/tutorial.el | |
parent | 12a3c28c787e23801f40ea557a5c00b538968a52 (diff) | |
download | emacs-32226619c5e563c384372b566000e5d37d783a61.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)) |