Function: browse-url-maybe-new-window

browse-url-maybe-new-window is a macro defined in browse-url.el.gz.

Signature

(browse-url-maybe-new-window ARG)

Source Code

;; Defined in /usr/src/emacs/lisp/net/browse-url.el.gz
;; called-interactive-p needs to be called at a function's top-level, hence
;; this macro.  We use that rather than interactive-p because
;; use in a keyboard macro should not change this behavior.
(defmacro browse-url-maybe-new-window (arg)
  `(if (or noninteractive (not (called-interactively-p 'any)))
       ,arg
     browse-url-new-window-flag))