aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2025-12-06 14:24:18 +0200
committerEli Zaretskii2025-12-06 14:24:18 +0200
commitc3dfef7a3d4e0f01b799a1d9679d41a498301537 (patch)
treeb96b323e102dca1a35f6bb6e481b925d87956486
parent164f76a4740d813f024d83173503b1cd5fdd0bae (diff)
downloademacs-c3dfef7a3d4e0f01b799a1d9679d41a498301537.tar.gz
emacs-c3dfef7a3d4e0f01b799a1d9679d41a498301537.zip
; * lisp/files.el (trusted-content): Doc fix (bug#79939).
-rw-r--r--lisp/files.el8
1 files changed, 5 insertions, 3 deletions
diff --git a/lisp/files.el b/lisp/files.el
index 462abaf2dc7..f9341ab5a90 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -722,12 +722,14 @@ code contained within those files and directories without an explicit
722request by the user. 722request by the user.
723One important case when this might happen is when `flymake-mode' is 723One important case when this might happen is when `flymake-mode' is
724enabled (for example, when it is added to a mode hook). 724enabled (for example, when it is added to a mode hook).
725Each element of the list should be a string: 725
726Each element of the list should be a string naming a file or a directory
727by their abbreviated file names:
726- If it ends in \"/\", it is considered as a directory name and means that 728- If it ends in \"/\", it is considered as a directory name and means that
727 Emacs should trust all the files whose name has this directory as a prefix. 729 Emacs should trust all the files whose name has this directory as a prefix.
728- Otherwise, it is considered a file name. 730- Otherwise, it is considered a file name.
729Use abbreviated file names. For example, an entry \"~/mycode/\" means 731For example, an entry \"~/mycode/\" means that Emacs will trust all the
730that Emacs will trust all the files in your directory \"mycode\". 732files in the directory \"mycode\" under your home directory.
731This variable can also be set to `:all', in which case Emacs will trust 733This variable can also be set to `:all', in which case Emacs will trust
732all files, which opens a gaping security hole. Emacs Lisp authors 734all files, which opens a gaping security hole. Emacs Lisp authors
733should note that this value must never be set by a major or minor mode." 735should note that this value must never be set by a major or minor mode."