From 63f419f1339cbd0a7d1e64586854a4f01b3f80d1 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Tue, 14 Sep 2021 08:43:18 +0200 Subject: ; Minor stylistic fixes found by checkdoc --- lisp/ls-lisp.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lisp/ls-lisp.el') diff --git a/lisp/ls-lisp.el b/lisp/ls-lisp.el index 9041b9ac0f9..8e81f79e429 100644 --- a/lisp/ls-lisp.el +++ b/lisp/ls-lisp.el @@ -599,7 +599,7 @@ to a non-nil value." "Return t if versioned string S1 should sort before versioned string S2. Case is significant if `ls-lisp-ignore-case' is nil. -This is the same as string-lessp (with the exception of case +This is the same as `string-lessp' (with the exception of case insensitivity), but sequences of digits are compared numerically, as a whole, in the same manner as the `strverscmp' function available in some standard C libraries does." -- cgit v1.2.3 From 81f20e8b89d6333cbc796e92df5aa3df4f5712db Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Sat, 9 Oct 2021 16:18:53 +0200 Subject: Fix thinko in ls-lisp--insert-directory * lisp/ls-lisp.el (ls-lisp--insert-directory): Ensure that SWITCHES is a string. --- lisp/ls-lisp.el | 1 + 1 file changed, 1 insertion(+) (limited to 'lisp/ls-lisp.el') diff --git a/lisp/ls-lisp.el b/lisp/ls-lisp.el index 8e81f79e429..82153ff0adb 100644 --- a/lisp/ls-lisp.el +++ b/lisp/ls-lisp.el @@ -283,6 +283,7 @@ are also supported; unsupported long options are silently ignored." (funcall orig-fun file switches wildcard full-directory-p) ;; We need the directory in order to find the right handler. + (setq switches (or switches "")) (let ((handler (find-file-name-handler (expand-file-name file) 'insert-directory)) (orig-file file) -- cgit v1.2.3