From: Eli Zaretskii Date: Tue, 19 Feb 2002 11:16:06 +0000 (+0000) Subject: (browse-url-maybe-new-window): Reverse the sense of the comparison, X-Git-Tag: ttn-vms-21-2-B4~16571 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f1ec00075657b5a578b48ed4877695e5abbf1714;p=emacs.git (browse-url-maybe-new-window): Reverse the sense of the comparison, to match the doc strings of functions that use this macro. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 2f1eed421c5..e87561ad08e 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,9 @@ +2002-02-19 Eli Zaretskii + + * net/browse-url.el (browse-url-maybe-new-window): Reverse the + sense of the comparison, to match the doc strings of functions + that use this macro. + 2002-02-19 Per Abrahamsen * facemenu.el (describe-text-mode-map): Removed bootstrap kludge. diff --git a/lisp/net/browse-url.el b/lisp/net/browse-url.el index 6c574b4a29e..800cb22cf5d 100644 --- a/lisp/net/browse-url.el +++ b/lisp/net/browse-url.el @@ -557,7 +557,7 @@ negation if a prefix argument was given." ;; interactive-p needs to be called at a function's top-level, hence ;; the macro. (defmacro browse-url-maybe-new-window (arg) - `(if (interactive-p) + `(if (not (interactive-p)) ,arg browse-url-new-window-flag))