From 12a3c28c787e23801f40ea557a5c00b538968a52 Mon Sep 17 00:00:00 2001 From: Juanma Barranquero Date: Fri, 2 Oct 2009 00:02:02 +0000 Subject: * 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'. --- lisp/image-mode.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lisp/image-mode.el') 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 -- cgit v1.2.1