aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Kangas2022-06-23 10:55:04 +0200
committerStefan Kangas2022-06-23 12:48:29 +0200
commit2bd49c8204cc643965e761c4fbcf489b21bbca5d (patch)
treedf01b72a452b6fdd149528a33521ef4f25974d79
parentea640581bad1c596f657ca405f6c97e1b4fc4b11 (diff)
downloademacs-2bd49c8204cc643965e761c4fbcf489b21bbca5d.tar.gz
emacs-2bd49c8204cc643965e761c4fbcf489b21bbca5d.zip
Revert "Use short file names by default in recentf menu"
This reverts commit ec9228eb81c0a89b18480dfff18cc9afdc3d0884.
-rw-r--r--etc/NEWS6
-rw-r--r--lisp/recentf.el5
2 files changed, 5 insertions, 6 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 40658559d7f..88ba7213841 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1856,9 +1856,9 @@ If non-nil, files untracked by a VCS are considered to be part of
1856the project by a VC project based on that VCS. 1856the project by a VC project based on that VCS.
1857 1857
1858--- 1858---
1859*** The 'recentf-mode' menu now uses shortened filenames by default. 1859*** The 'recentf-mode' menu can now use shortened filenames.
1860They are shortened with 'abbreviate-file-name'. Customize the user 1860Set the user option 'recentf-menu-filter' to
1861option 'recentf-menu-filter' to nil to get unabbreviated file names. 1861'recentf-show-abbreviated' to enable it.
1862 1862
1863--- 1863---
1864** The autoarg.el library is now marked obsolete. 1864** The autoarg.el library is now marked obsolete.
diff --git a/lisp/recentf.el b/lisp/recentf.el
index b10f4d0ed08..05127cbf49b 100644
--- a/lisp/recentf.el
+++ b/lisp/recentf.el
@@ -171,7 +171,7 @@ The default is to call `find-file' to edit the selected file."
171 :group 'recentf 171 :group 'recentf
172 :type 'integer) 172 :type 'integer)
173 173
174(defcustom recentf-menu-filter #'recentf-show-abbreviated 174(defcustom recentf-menu-filter nil
175 "Function used to filter files displayed in the recentf menu. 175 "Function used to filter files displayed in the recentf menu.
176A nil value means no filter. The following functions are predefined: 176A nil value means no filter. The following functions are predefined:
177 177
@@ -226,8 +226,7 @@ elements (see `recentf-make-menu-element' for menu element form)."
226 (function-item recentf-arrange-by-mode) 226 (function-item recentf-arrange-by-mode)
227 (function-item recentf-arrange-by-dir) 227 (function-item recentf-arrange-by-dir)
228 (function-item recentf-filter-changer) 228 (function-item recentf-filter-changer)
229 function) 229 function))
230 :version "29.1")
231 230
232(defcustom recentf-menu-open-all-flag nil 231(defcustom recentf-menu-open-all-flag nil
233 "Non-nil means to show an \"All...\" item in the menu. 232 "Non-nil means to show an \"All...\" item in the menu.