used as shortcuts to open the Nth file."
:group 'recentf
:type 'boolean)
+
+(defcustom recentf-show-messages t
+ "Whether to show verbose messages about low-level recentf actions.
+nil means to not show messages related to the recentf machinery.
+t means show messages that were printed by default on Emacs <= 31.1."
+ :group 'recentf
+ :type 'boolean
+ :version "31.1")
\f
;;; Utilities
;;
(insert "\n\f\n;; Local Variables:\n"
(format ";; coding: %s\n" recentf-save-file-coding-system)
";; End:\n")
- (write-region (point-min) (point-max)
- (expand-file-name recentf-save-file))
+ (write-region (point-min)
+ (point-max)
+ (expand-file-name recentf-save-file) nil
+ (unless (or (called-interactively-p 'interactive)
+ recentf-show-messages)
+ 'quiet))
(when recentf-save-file-modes
(set-file-modes recentf-save-file recentf-save-file-modes))
nil)