Browse Source

Shorten the names displayed in prelude-recentf-ido-find-file

custom
Bozhidar Batsov 13 years ago
parent
commit
b09eaf8e0e
  1. 4
      core/prelude-core.el

4
core/prelude-core.el

@ -291,7 +291,9 @@ buffer is not visiting a file."
(defun prelude-recentf-ido-find-file () (defun prelude-recentf-ido-find-file ()
"Find a recent file using ido." "Find a recent file using ido."
(interactive) (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 (when file
(find-file file)))) (find-file file))))

Loading…
Cancel
Save