mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
; Improve recent change to browse-url.el
* lisp/net/browse-url.el (browse-url-select-handler): Use lwarn with specific warning type, as recommended in "(elisp) Warning Basics".
This commit is contained in:
parent
ddc8020327
commit
5b5039caa2
1 changed files with 2 additions and 1 deletions
|
|
@ -653,7 +653,8 @@ Emacs 28.1 and will be removed in a future release."
|
|||
;; can be removed at some point in time.
|
||||
(when (and (consp browse-url-browser-function)
|
||||
(not (functionp browse-url-browser-function)))
|
||||
(warn "Having `browse-url-browser-function' set to an
|
||||
(lwarn 'browse-url :warning
|
||||
"Having `browse-url-browser-function' set to an
|
||||
alist is deprecated. Use `browse-url-handlers' instead.")
|
||||
browse-url-browser-function)
|
||||
browse-url-handlers
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue