diff lisp/ediff.el @ 105372:bd2966850aac

Use `called-interactively-p' instead of `interactive-p'.
author Juanma Barranquero <lekktu@gmail.com>
date Fri, 02 Oct 2009 03:48:36 +0000
parents affb617d6101
children 009383a57ce8
line wrap: on
line diff
--- a/lisp/ediff.el	Fri Oct 02 00:02:02 2009 +0000
+++ b/lisp/ediff.el	Fri Oct 02 03:48:36 2009 +0000
@@ -1453,7 +1453,7 @@
   "Return string describing the version of Ediff.
 When called interactively, displays the version."
   (interactive)
-  (if (interactive-p)
+  (if (called-interactively-p 'interactive)
       (message "%s" (ediff-version))
     (format "Ediff %s of %s" ediff-version ediff-date)))