[fasd] Fix bug in fasd-find-directory-only

`fasd-find-file` incorrectly interprets a prefix argument of value 1
as equivalent to nil ([issue][0]).

Work around this bug by just passing another positive number instead.
We choose 2.

[0]: https://framagit.org/steckerhalter/emacs-fasd/-/issues/14
This commit is contained in:
Aaron L. Zeng 2020-09-10 20:57:50 -04:00 committed by Maximilian Wolff
parent 8da6653d2b
commit 2b4fd06dc1
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@
(defun fasd-find-directory-only ()
(interactive)
(fasd-find-file 1))
(fasd-find-file 2))
(global-fasd-mode 1)
(spacemacs/declare-prefix "fa" "fasd-find")