summaryrefslogtreecommitdiff
path: root/lisp/textmodes/tex-mode.el
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2009-10-02 03:48:36 +0000
committerJuanma Barranquero <lekktu@gmail.com>2009-10-02 03:48:36 +0000
commit32226619c5e563c384372b566000e5d37d783a61 (patch)
tree216af4221d2ba868b45162679ce3a0462985c422 /lisp/textmodes/tex-mode.el
parent12a3c28c787e23801f40ea557a5c00b538968a52 (diff)
downloademacs-32226619c5e563c384372b566000e5d37d783a61.tar.gz
emacs-32226619c5e563c384372b566000e5d37d783a61.tar.bz2
emacs-32226619c5e563c384372b566000e5d37d783a61.zip
Use `called-interactively-p' instead of `interactive-p'.
Diffstat (limited to 'lisp/textmodes/tex-mode.el')
-rw-r--r--lisp/textmodes/tex-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el
index b45cb25b3b7..6a34956604c 100644
--- a/lisp/textmodes/tex-mode.el
+++ b/lisp/textmodes/tex-mode.el
@@ -1274,7 +1274,7 @@ on the line for the invalidity you want to see."
(let ((no-matches (zerop num-matches)))
(if no-matches
(insert "None!\n"))
- (if (interactive-p)
+ (if (called-interactively-p 'interactive)
(message (cond (no-matches "No mismatches found")
((= num-matches 1) "1 mismatch found")
(t "%d mismatches found"))