summaryrefslogtreecommitdiff
path: root/lisp/ls-lisp.el
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1994-04-22 23:59:24 +0000
committerKarl Heuer <kwzh@gnu.org>1994-04-22 23:59:24 +0000
commit0943fe237295d67431e4e64881332a52181349e0 (patch)
treede97bfe308b87845cef36bf85d2fba1e52c68961 /lisp/ls-lisp.el
parentf2a4086888aa3775cfd4bcca2da8f944a0e02f35 (diff)
downloademacs-0943fe237295d67431e4e64881332a52181349e0.tar.gz
Pass operation to find-file-name-handler.
Diffstat (limited to 'lisp/ls-lisp.el')
-rw-r--r--lisp/ls-lisp.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ls-lisp.el b/lisp/ls-lisp.el
index 38a68cdc10a..0a5a5942347 100644
--- a/lisp/ls-lisp.el
+++ b/lisp/ls-lisp.el
@@ -62,7 +62,7 @@ It does not support ordinary shell wildcards; instead, it allows
regular expressions to match file names.
The switches that work are: A a c i r S s t u"
- (let ((handler (find-file-name-handler file)))
+ (let ((handler (find-file-name-handler file 'insert-directory)))
(if handler
(funcall handler 'insert-directory file switches
wildcard full-directory-p)