summaryrefslogtreecommitdiff
path: root/lisp/image-mode.el
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2009-10-02 00:02:02 +0000
committerJuanma Barranquero <lekktu@gmail.com>2009-10-02 00:02:02 +0000
commit12a3c28c787e23801f40ea557a5c00b538968a52 (patch)
treebab1efcce46945c99a9d4305a0ef06e85fc28a0f /lisp/image-mode.el
parent8d148b0dd164a0e53e21719d391005d9d68902c6 (diff)
downloademacs-12a3c28c787e23801f40ea557a5c00b538968a52.tar.gz
* image-mode.el (image-toggle-display):
* emacs-lisp/elp.el (elp-instrument-function): * emacs-lisp/advice.el (ad-make-advised-definition): * emacs-lisp/easy-mmode.el (define-minor-mode): * net/browse-url.el (browse-url-maybe-new-window): * progmodes/sh-script.el (sh-learn-buffer-indent): Pass new argument 'any to `called-interactively-p'.
Diffstat (limited to 'lisp/image-mode.el')
-rw-r--r--lisp/image-mode.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/image-mode.el b/lisp/image-mode.el
index b7516522670..2da94d0bba5 100644
--- a/lisp/image-mode.el
+++ b/lisp/image-mode.el
@@ -429,7 +429,7 @@ and showing the image as an image."
(setq image-type "text")
(if (eq major-mode 'image-mode)
(setq mode-name "Image[text]"))
- (if (called-interactively-p)
+ (if (called-interactively-p 'any)
(message "Repeat this command to go back to displaying the image")))
;; Turn the image data into a real image, but only if the whole file
;; was inserted
@@ -472,7 +472,7 @@ and showing the image as an image."
(setq image-type type)
(if (eq major-mode 'image-mode)
(setq mode-name (format "Image[%s]" type)))
- (if (called-interactively-p)
+ (if (called-interactively-p 'any)
(message "Repeat this command to go back to displaying the file as text")))))
;;; Support for bookmark.el