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/play/yow.el | |
parent | 12a3c28c787e23801f40ea557a5c00b538968a52 (diff) | |
download | emacs-32226619c5e563c384372b566000e5d37d783a61.tar.gz |
Use `called-interactively-p' instead of `interactive-p'.
Diffstat (limited to 'lisp/play/yow.el')
-rw-r--r-- | lisp/play/yow.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/play/yow.el b/lisp/play/yow.el index 1c284d009ad..6d00a3a0b72 100644 --- a/lisp/play/yow.el +++ b/lisp/play/yow.el @@ -91,7 +91,7 @@ If called interactively, display a list of matches." (setq i (1+ i)))) (and matches (setq matches (sort matches 'string-lessp))) - (and (interactive-p) + (and (called-interactively-p 'interactive) (cond ((null matches) (message "No matches found.")) (t |