From: Mark Oteiza Date: Thu, 26 Jan 2017 18:12:54 +0000 (-0500) Subject: ; Just use octal X-Git-Tag: emacs-26.0.90~870^2~43 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=cf60608803b88321a43b7ff110d9caec09c270e7;p=emacs.git ; Just use octal * lisp/recentf.el (recentf-save-file-modes): Write file mode in octal. --- diff --git a/lisp/recentf.el b/lisp/recentf.el index 2b1d22bb907..4f0573911b9 100644 --- a/lisp/recentf.el +++ b/lisp/recentf.el @@ -82,7 +82,7 @@ See the command `recentf-save-list'." recentf-mode (recentf-load-list))))) -(defcustom recentf-save-file-modes 384 ;; 0600 +(defcustom recentf-save-file-modes #o600 "Mode bits of recentf save file, as an integer, or nil. If non-nil, after writing `recentf-save-file', set its mode bits to this value. By default give R/W access only to the user who owns that