Mathias Dahl <[EMAIL PROTECTED]> writes:
>>From the documentation string:
>
> --
> C-x C-f runs the command find-file
> which is an interactive compiled Lisp function in `files.el'.
> It is bound to <open>, C-x C-f, <menu-bar> <file> <new-file>.
> (find-file filename &optional wildcards)
That explains my problem.
I have C-x C-f bound to 'sal-find-file', which wraps 'find-file' with
a check for a user arg, which means 'other-window'.
Apparently I've inadvertently defeated the wildcards functionality.
Here's my function:
(defun sal-find-file (filename)
"Find a file. Prefix arg means other window."
(interactive "FFind file: ")
(if current-prefix-arg
(find-file-other-window filename)
(find-file filename) ))
Any advice on restoring the wildcards? I'm always up for learning more
about elisp.
--
-- Stephe