Shorten the names displayed in prelude-recentf-ido-find-file
This commit is contained in:
parent
f7d126fae9
commit
b09eaf8e0e
1 changed files with 3 additions and 1 deletions
|
@ -291,7 +291,9 @@ buffer is not visiting a file."
|
|||
(defun prelude-recentf-ido-find-file ()
|
||||
"Find a recent file using ido."
|
||||
(interactive)
|
||||
(let ((file (ido-completing-read "Choose recent file: " recentf-list nil t)))
|
||||
(let ((file (ido-completing-read "Choose recent file: "
|
||||
(-map 'abbreviate-file-name recentf-list)
|
||||
nil t)))
|
||||
(when file
|
||||
(find-file file))))
|
||||
|
||||
|
|
Loading…
Reference in a new issue