* lisp/recentf.el (recentf-menu-filter): Set the default to
'recentf-show-abbreviated' to get short file names. (Bug#56123)
the project by a VC project based on that VCS.
---
-*** The 'recentf-mode' menu can now use shortened filenames.
-Set the user option 'recentf-menu-filter' to
-'recentf-show-abbreviated' to enable it.
+*** The 'recentf-mode' menu now uses shortened filenames by default.
+They are shortened with 'abbreviate-file-name'. Customize the user
+option 'recentf-menu-filter' to nil to get unabbreviated file names.
---
** The autoarg.el library is now marked obsolete.
:group 'recentf
:type 'integer)
-(defcustom recentf-menu-filter nil
+(defcustom recentf-menu-filter #'recentf-show-abbreviated
"Function used to filter files displayed in the recentf menu.
A nil value means no filter. The following functions are predefined:
(function-item recentf-arrange-by-mode)
(function-item recentf-arrange-by-dir)
(function-item recentf-filter-changer)
- function))
+ function)
+ :version "29.1")
(defcustom recentf-menu-open-all-flag nil
"Non-nil means to show an \"All...\" item in the menu.