comparison lisp/net/browse-url.el @ 105371:0769a73f1d18

* 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'.
author Juanma Barranquero <lekktu@gmail.com>
date Fri, 02 Oct 2009 00:02:02 +0000
parents d04b8967407b
children bd2966850aac
comparison
equal deleted inserted replaced
105370:93ff2304a242 105371:0769a73f1d18
667 667
668 ;; called-interactive-p needs to be called at a function's top-level, hence 668 ;; called-interactive-p needs to be called at a function's top-level, hence
669 ;; this macro. We use that rather than interactive-p because 669 ;; this macro. We use that rather than interactive-p because
670 ;; use in a keyboard macro should not change this behavior. 670 ;; use in a keyboard macro should not change this behavior.
671 (defmacro browse-url-maybe-new-window (arg) 671 (defmacro browse-url-maybe-new-window (arg)
672 `(if (or noninteractive (not (called-interactively-p))) 672 `(if (or noninteractive (not (called-interactively-p 'any)))
673 ,arg 673 ,arg
674 browse-url-new-window-flag)) 674 browse-url-new-window-flag))
675 675
676 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 676 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
677 ;; Browse current buffer 677 ;; Browse current buffer