aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorTassilo Horn2020-05-07 13:10:44 +0200
committerTassilo Horn2020-05-07 13:12:22 +0200
commit2c905fb8a1d95a72e4b8a9b138458c86b099ced1 (patch)
treea67272ff395b58e1b8497534b380c3fecbab33ec /lisp
parentde5f59219ac02c6502907f6a24538ddabf487839 (diff)
downloademacs-2c905fb8a1d95a72e4b8a9b138458c86b099ced1.tar.gz
emacs-2c905fb8a1d95a72e4b8a9b138458c86b099ced1.zip
Fix browse-url (remove debugging leftover).
* lisp/net/browse-url.el (browse-url): Fix "No suitable browser for URL" always popping up.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/net/browse-url.el2
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
864 ;; which may not even exist any more. 864 ;; which may not even exist any more.
865 (if (stringp (frame-parameter nil 'display)) 865 (if (stringp (frame-parameter nil 'display))
866 (setenv "DISPLAY" (frame-parameter nil 'display))) 866 (setenv "DISPLAY" (frame-parameter nil 'display)))
867 (if (functionp nil) 867 (if (functionp function)
868 (apply function url args) 868 (apply function url args)
869 (error "No suitable browser for URL %s" url)))) 869 (error "No suitable browser for URL %s" url))))
870 870