bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#69627: 30.0.50; [PATCH] Allow 'browse-url-interactive-arg' to return


From: Jim Porter
Subject: bug#69627: 30.0.50; [PATCH] Allow 'browse-url-interactive-arg' to return the actual prefix arg
Date: Thu, 7 Mar 2024 22:04:39 -0800

By default this shouldn't do anything different from before. However, with this patch, functions for 'browse-url-browser-function' can look at the argument (as modified by 'browse-url-new-window-flag') and do something special. For example, with this patch, I have a custom browser function that works like this:

  M-x browse-url      Open in Firefox
  C-u M-x browse-url  Open in EWW
  C-- M-x browse-url  Open in Firefox Private Browsing

Attachment: 0001-Let-browse-url-interactive-arg-return-more-values-fo.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]