1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

Improve integer file mode options docstrings

* lisp/eshell/esh-util.el (eshell-private-file-modes)
(eshell-private-directory-modes):
* lisp/gnus/mail-source.el (mail-source-default-file-modes):
* lisp/printing.el (pr-file-modes):
* lisp/gnus/mm-decode.el (mm-attachment-file-modes):
* lisp/gnus/nnmail.el (nnmail-default-file-modes):
* lisp/recentf.el (recentf-save-file-modes):
* lisp/vc/ediff-init.el (ediff-temp-file-mode):
* lisp/vc/emerge.el (emerge-temp-file-mode): Better document the fact
that these are integer and not octal values.

* lisp/epg.el (epg--start):
* lisp/emacs-lisp/package.el (package-import-keyring): Use octal values
to make the code more self-documenting.
This commit is contained in:
Stefan Kangas 2025-01-06 11:07:09 +01:00
parent 6a389d5be4
commit da5df90fad
10 changed files with 27 additions and 19 deletions

View file

@ -246,8 +246,9 @@ If non-nil, this maildrop will be checked periodically for new mail."
"Directory where incoming mail source files (if any) will be stored."
:type 'directory)
(defcustom mail-source-default-file-modes 384
"Set the mode bits of all new mail files to this integer."
(defcustom mail-source-default-file-modes #o600
"Set the mode bits of all new mail files to this integer.
This is decimal, not octal. The default is 384 (0600 in octal)."
:type 'integer)
(defcustom mail-source-delete-incoming