aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/eshell
diff options
context:
space:
mode:
authorStefan Kangas2025-01-06 11:07:09 +0100
committerStefan Kangas2025-01-06 11:10:10 +0100
commitda5df90fadbec9db692ff34abcd28ce5a5b29c2a (patch)
tree616ee453f5de55c60d82a7c456503590666720f8 /lisp/eshell
parent6a389d5be47d1c143054a69e7302371d3889d658 (diff)
downloademacs-da5df90fadbec9db692ff34abcd28ce5a5b29c2a.tar.gz
emacs-da5df90fadbec9db692ff34abcd28ce5a5b29c2a.zip
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.
Diffstat (limited to 'lisp/eshell')
-rw-r--r--lisp/eshell/esh-util.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/eshell/esh-util.el b/lisp/eshell/esh-util.el
index 189be5fe57c..bc2e04746b1 100644
--- a/lisp/eshell/esh-util.el
+++ b/lisp/eshell/esh-util.el
@@ -64,11 +64,13 @@ Setting this to nil is offered as an aid to debugging only."
64 :type 'boolean) 64 :type 'boolean)
65 65
66(defcustom eshell-private-file-modes #o600 ; umask 177 66(defcustom eshell-private-file-modes #o600 ; umask 177
67 "The file-modes value to use for creating \"private\" files." 67 "The file-modes value to use for creating \"private\" files.
68This is decimal, not octal. The default is 384 (0600 in octal)."
68 :type 'integer) 69 :type 'integer)
69 70
70(defcustom eshell-private-directory-modes #o700 ; umask 077 71(defcustom eshell-private-directory-modes #o700 ; umask 077
71 "The file-modes value to use for creating \"private\" directories." 72 "The file-modes value to use for creating \"private\" directories.
73This is decimal, not octal. The default is 448 (0700 in octal)."
72 :type 'integer) 74 :type 'integer)
73 75
74(defcustom eshell-tar-regexp 76(defcustom eshell-tar-regexp