diff options
| author | Eli Zaretskii | 2025-12-06 14:24:18 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2025-12-06 14:24:18 +0200 |
| commit | c3dfef7a3d4e0f01b799a1d9679d41a498301537 (patch) | |
| tree | b96b323e102dca1a35f6bb6e481b925d87956486 | |
| parent | 164f76a4740d813f024d83173503b1cd5fdd0bae (diff) | |
| download | emacs-c3dfef7a3d4e0f01b799a1d9679d41a498301537.tar.gz emacs-c3dfef7a3d4e0f01b799a1d9679d41a498301537.zip | |
; * lisp/files.el (trusted-content): Doc fix (bug#79939).
| -rw-r--r-- | lisp/files.el | 8 |
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 | |||
| 722 | request by the user. | 722 | request by the user. |
| 723 | One important case when this might happen is when `flymake-mode' is | 723 | One important case when this might happen is when `flymake-mode' is |
| 724 | enabled (for example, when it is added to a mode hook). | 724 | enabled (for example, when it is added to a mode hook). |
| 725 | Each element of the list should be a string: | 725 | |
| 726 | Each element of the list should be a string naming a file or a directory | ||
| 727 | by 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. |
| 729 | Use abbreviated file names. For example, an entry \"~/mycode/\" means | 731 | For example, an entry \"~/mycode/\" means that Emacs will trust all the |
| 730 | that Emacs will trust all the files in your directory \"mycode\". | 732 | files in the directory \"mycode\" under your home directory. |
| 731 | This variable can also be set to `:all', in which case Emacs will trust | 733 | This variable can also be set to `:all', in which case Emacs will trust |
| 732 | all files, which opens a gaping security hole. Emacs Lisp authors | 734 | all files, which opens a gaping security hole. Emacs Lisp authors |
| 733 | should note that this value must never be set by a major or minor mode." | 735 | should note that this value must never be set by a major or minor mode." |