]> git.eshelyaron.com Git - emacs.git/commit
tramp: Tweak the ls-lisp declarations
authorStefan Monnier <monnier@iro.umontreal.ca>
Sun, 4 Feb 2024 04:05:03 +0000 (23:05 -0500)
committerEshel Yaron <me@eshelyaron.com>
Sun, 4 Feb 2024 11:05:49 +0000 (12:05 +0100)
commitcb38e4a8b036f55c0dc509470c9f71b4ce0147ea
treea92825b70c1b30048ba9b6a23aee10a1b7ab7c9b
parent290374c708208c64aae0b321313a9185202eaf87
tramp: Tweak the ls-lisp declarations

* lisp/net/tramp-sh.el (ls-lisp-use-insert-directory-program): Don't
declare its existence...
(tramp-sh-handle-insert-directory): ...test it instead.

* lisp/net/tramp.el (ls-lisp-dirs-first, ls-lisp-emulation)
(ls-lisp-ignore-case, ls-lisp-use-insert-directory-program)
(ls-lisp-verbosity): Move declaration...
(tramp-handle-insert-directory): ...to the point where we have a good
reason to think these variables exist.

(cherry picked from commit 45125e019c3698ff74ccb2183b789c25f9d3f574)
lisp/net/tramp-sh.el
lisp/net/tramp.el