--- browse-url.el.~1.80.~ 2009-09-23 11:08:37.000000000 +1000 +++ browse-url.el 2009-09-23 11:16:22.000000000 +1000 @@ -778,7 +778,11 @@ ;; which may not even exist any more. (if (stringp (frame-parameter (selected-frame) 'display)) (setenv "DISPLAY" (frame-parameter (selected-frame) 'display))) - (if (functionp browse-url-browser-function) + ;; send any symbol to `apply', not just fboundp ones, since + ;; void-function from apply is clearer than wrong-type-argument + ;; from dolist + (if (or (symbolp browse-url-browser-function) + (functionp browse-url-browser-function)) (apply browse-url-browser-function url args) ;; The `function' can be an alist; look down it for first match ;; and apply the function (which might be a lambda).