diff options
Diffstat (limited to 'lisp/net/browse-url.el')
-rw-r--r-- | lisp/net/browse-url.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/net/browse-url.el b/lisp/net/browse-url.el index b34665358ca..3d55ee554f1 100644 --- a/lisp/net/browse-url.el +++ b/lisp/net/browse-url.el @@ -864,7 +864,7 @@ If ARGS are omitted, the default is to pass ;; which may not even exist any more. (if (stringp (frame-parameter nil 'display)) (setenv "DISPLAY" (frame-parameter nil 'display))) - (if (functionp nil) + (if (functionp function) (apply function url args) (error "No suitable browser for URL %s" url)))) |