diff options
author | Jim Porter <jporterbugs@gmail.com> | 2024-03-07 21:55:45 -0800 |
---|---|---|
committer | Jim Porter <jporterbugs@gmail.com> | 2024-03-10 14:05:09 -0700 |
commit | 46afc91c9f7e6ee6a7917537c83052e0877fa4f2 (patch) | |
tree | ef9cc8ec38efe69fbf82357d610affeef4bff755 /lisp/emacs-lisp/comp.el | |
parent | c17ecd2dcd27b73d673df51ce66f4b188afff6db (diff) | |
download | emacs-46afc91c9f7e6ee6a7917537c83052e0877fa4f2.tar.gz emacs-46afc91c9f7e6ee6a7917537c83052e0877fa4f2.tar.bz2 emacs-46afc91c9f7e6ee6a7917537c83052e0877fa4f2.zip |
Let 'browse-url-interactive-arg' return more values for NEW-WINDOW-FLAG
Previously it always returned t or nil for NEW-WINDOW-FLAG, but now it
can return the actual prefix arg when appropriate. This lets functions
for 'browse-url-browser-function' consult it and do more things than
just open a new window or not (for example, you could use "C--" as the
prefix arg to do something special in a custom function).
* lisp/net/browse-url.el (browse-url-interactive-arg): Use 'xor' to
adjust the value of 'current-prefix-arg'.
(browse-url): Update docstring.
Diffstat (limited to 'lisp/emacs-lisp/comp.el')
0 files changed, 0 insertions, 0 deletions