Fix thinko in ls-lisp--insert-directory
* lisp/ls-lisp.el (ls-lisp--insert-directory): Ensure that SWITCHES is a string.
This commit is contained in:
parent
ec9f25bd35
commit
81f20e8b89
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue