Commit 85121e03 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

Allow completion on dynamic module files in load-library

* lisp/files.el (load-library): Bind completion-ignored-extensions
to nil, to allow completion on dynamic modules typed as file
names.  Reported by Andy Moreton <andrewjmoreton@gmail.com>.
parent 7233767e
......@@ -1023,10 +1023,11 @@ well as `load-file-rep-suffixes').
See Info node `(emacs)Lisp Libraries' for more details.
See `load-file' for a different interface to `load'."
(interactive
(list (completing-read "Load library: "
(apply-partially 'locate-file-completion-table
load-path
(get-load-suffixes)))))
(let (completion-ignored-extensions)
(list (completing-read "Load library: "
(apply-partially 'locate-file-completion-table
load-path
(get-load-suffixes))))))
(load library))
(defun file-remote-p (file &optional identification connected)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment