Fix invalid executable-find invocation and eshell-tramp loading

This commit is contained in:
Jeremy Dormitzer 2020-07-07 12:04:39 -04:00
parent 4fae2b4f43
commit 22297fd25e

View File

@ -2606,6 +2606,7 @@ Make EShell's tab completion work like Bash's:
Add additional useful modules:
#+BEGIN_SRC emacs-lisp
(with-eval-after-load 'eshell
(require 'esh-module)
(add-to-list 'eshell-modules-list 'eshell-tramp))
#+END_SRC
@ -4302,7 +4303,7 @@ I mostly want `browse-url-at-point` to open stuff in Firefox, but in some cases
(setq browse-url-generic-program
(cond
((executable-find "open") "open")
((executable-fine "xdg-open" "xdg-open"))))
((executable-find "xdg-open") "xdg-open")))
(defun browse-url-at-point-w3m ()
"Opens the URL at point in w3m"