Maybe skip advice of browse-url-browser-function
authorAlex Schroeder <alex@gnu.org>
Sat, 11 Sep 2021 20:38:55 +0000 (22:38 +0200)
committerAlex Schroeder <alex@gnu.org>
Sat, 11 Sep 2021 20:38:55 +0000 (22:38 +0200)
commitfbf5fbcd3e0d82c9d7de7d4db5166620dbb31791
tree60678f1a051fdb6d58ffadab6bdc67ff8e6f34af
parent0d65ffa3ab238529a11d5c1a5d2dea5a6c27e9b4
Maybe skip advice of browse-url-browser-function

If the value of browse-url-browser-function is an alist instead of a
symbol, we're probably better off not advising it. Thus, check the
value of browse-url-browser-function before doing anything. Only
advise it if it is a function, i.e. fboundp.
elpher.el