diff options
| author | Robert Pluim | 2023-04-25 12:28:47 +0200 |
|---|---|---|
| committer | Robert Pluim | 2023-05-29 14:46:30 +0200 |
| commit | 08104c01504f73d1c2fa7df413cad4e988dd5119 (patch) | |
| tree | 31d7da74ffae9b1cfb93c5b45e817fb8943bfc74 /etc | |
| parent | a3063f0bc873707c167cf51f3eb9c0b1675819e6 (diff) | |
| download | emacs-08104c01504f73d1c2fa7df413cad4e988dd5119.tar.gz emacs-08104c01504f73d1c2fa7df413cad4e988dd5119.zip | |
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: | |||
| 1693 | This command visits the file on the current line with EWW. | 1693 | This command visits the file on the current line with EWW. |
| 1694 | 1694 | ||
| 1695 | --- | 1695 | --- |
| 1696 | *** 'browse-url-of-dired-file' can now call the secondary browser. | ||
| 1697 | When invoked with a prefix arg, this will now call | ||
| 1698 | 'browse-url-secondary-browser-function' instead of the default | ||
| 1699 | browser. 'browse-url-of-dired-file' is bound to 'W' by default in | ||
| 1700 | dired mode. | ||
| 1701 | |||
| 1702 | --- | ||
| 1696 | *** New user option 'dired-omit-lines'. | 1703 | *** New user option 'dired-omit-lines'. |
| 1697 | This is used by 'dired-omit-mode', and now allows you to hide based on | 1704 | This is used by 'dired-omit-mode', and now allows you to hide based on |
| 1698 | other things than just the file names. | 1705 | other things than just the file names. |