diff options
author | Robert Pluim <rpluim@gmail.com> | 2023-04-25 12:28:47 +0200 |
---|---|---|
committer | Robert Pluim <rpluim@gmail.com> | 2023-05-29 14:46:30 +0200 |
commit | 08104c01504f73d1c2fa7df413cad4e988dd5119 (patch) | |
tree | 31d7da74ffae9b1cfb93c5b45e817fb8943bfc74 /etc | |
parent | a3063f0bc873707c167cf51f3eb9c0b1675819e6 (diff) | |
download | emacs-08104c01504f73d1c2fa7df413cad4e988dd5119.tar.gz |
Allow dired to invoke secondary browser
'browse-url-of-dired-file' always invokes the primary browser, but
sometimes it's handy to call a different browser, which is why
'browse-url-secondary-browser-function' exists.
* lisp/net/browse-url.el (browse-url-of-dired-file): Call
'browse-url-secondary-browser-function' when invoked with a prefix
argument.
* etc/NEWS: Announce the change.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/NEWS | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1693,6 +1693,13 @@ the following to your Init file: This command visits the file on the current line with EWW. --- +*** 'browse-url-of-dired-file' can now call the secondary browser. +When invoked with a prefix arg, this will now call +'browse-url-secondary-browser-function' instead of the default +browser. 'browse-url-of-dired-file' is bound to 'W' by default in +dired mode. + +--- *** New user option 'dired-omit-lines'. This is used by 'dired-omit-mode', and now allows you to hide based on other things than just the file names. |