Use lisp-data-mode in recentf-save-file
* lisp/recentf.el (recentf-save-file-header): Add cookie to use lisp-data-mode in recentf-save-file.
This commit is contained in:
parent
3396f0e567
commit
a6523599f9
1 changed files with 2 additions and 2 deletions
|
@ -1316,7 +1316,7 @@ Optional argument N must be a valid digit number. It defaults to 1.
|
|||
;;; Save/load/cleanup the recent list
|
||||
;;
|
||||
(defconst recentf-save-file-header
|
||||
";;; Automatically generated by `recentf' on %s.\n"
|
||||
";;; Automatically generated by `recentf' on %s. -*- mode: lisp-data -*-\n"
|
||||
"Header to be written into the `recentf-save-file'.")
|
||||
|
||||
(defconst recentf-save-file-coding-system
|
||||
|
@ -1344,7 +1344,7 @@ Write data into the file specified by `recentf-save-file'."
|
|||
(point-max)
|
||||
(expand-file-name recentf-save-file) nil
|
||||
(unless (or (called-interactively-p 'interactive)
|
||||
recentf-show-messages)
|
||||
recentf-show-messages)
|
||||
'quiet))
|
||||
(when recentf-save-file-modes
|
||||
(set-file-modes recentf-save-file recentf-save-file-modes))
|
||||
|
|
Loading…
Add table
Reference in a new issue