mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-03-07 06:22:32 -08:00
Merge from origin/emacs-30
ba27193895; * etc/NEWS: Fix wording.fdc6842a44Remove bookmark fringe marks when deleting all bookmarks3bccd04c5cImprove wording in symbols.texi6441b9ea7aFix typo in Gnus manual87be3aa149eglot: Allow omnisharp binary to be capitalized "OmniSharp"5485ea6aefDo not set `trusted-content` in major modesd11488fd6f; * lisp/subr.el (sit-for): Doc fix. # Conflicts: # etc/NEWS
This commit is contained in:
commit
d58fe6619f
10 changed files with 26 additions and 16 deletions
|
|
@ -106,11 +106,11 @@ reference any object. (This is not the same thing as holding the symbol
|
|||
a value cell that is void results in an error, such as @samp{Symbol's
|
||||
value as variable is void}.
|
||||
|
||||
Because each symbol has separate value and function cells, variables
|
||||
names and function names do not conflict. For example, the symbol
|
||||
@code{buffer-file-name} has a value (the name of the file being
|
||||
visited in the current buffer) as well as a function definition (a
|
||||
primitive function that returns the name of the file):
|
||||
Because each symbol has separate value and function cells, the names
|
||||
of variables and functions do not conflict. For example, the symbol
|
||||
@code{buffer-file-name} has a value (the name of the file being visited
|
||||
in the current buffer) as well as a function definition (a primitive
|
||||
function that returns the name of the file):
|
||||
|
||||
@example
|
||||
buffer-file-name
|
||||
|
|
|
|||
|
|
@ -17204,7 +17204,7 @@ filename is unrelated to the article number in Gnus. @code{nnmaildir}
|
|||
also stores the equivalent of @code{nnml}'s overview files in one file
|
||||
per article, so it uses about twice as many inodes as @code{nnml}.
|
||||
(Use @code{df -i} to see how plentiful your inode supply is.) If this
|
||||
slows you down or takes up very much space, a non-block-structured
|
||||
slows you down or takes up very much space, use a non-block-structured
|
||||
file system.
|
||||
|
||||
Since maildirs don't require locking for delivery, the maildirs you use
|
||||
|
|
|
|||
|
|
@ -193,6 +193,9 @@ For example, Flymake's backend for Emacs Lisp consults this option
|
|||
and disables itself with an "untrusted content" warning if the file
|
||||
is not listed.
|
||||
|
||||
Emacs Lisp authors should note that a major or minor mode must never set
|
||||
this option to the ':all' value.
|
||||
|
||||
This option is used to fix CVE-2024-53920. See below for details.
|
||||
|
||||
** Emacs now supports Unicode Standard version 15.1.
|
||||
|
|
|
|||
|
|
@ -1586,6 +1586,8 @@ confirmation."
|
|||
(when (or no-confirm
|
||||
(yes-or-no-p "Permanently delete all bookmarks? "))
|
||||
(bookmark-maybe-load-default-file)
|
||||
(dolist (bm bookmark-alist)
|
||||
(bookmark--remove-fringe-mark bm))
|
||||
(setq bookmark-alist-modification-count
|
||||
(+ bookmark-alist-modification-count (length bookmark-alist)))
|
||||
(setq bookmark-alist nil)
|
||||
|
|
|
|||
|
|
@ -721,11 +721,12 @@ enabled (for example, when it is added to a mode hook).
|
|||
Each element of the list should be a string:
|
||||
- If it ends in \"/\", it is considered as a directory name and means that
|
||||
Emacs should trust all the files whose name has this directory as a prefix.
|
||||
- else it is considered as a file name.
|
||||
- Otherwise, it is considered a file name.
|
||||
Use abbreviated file names. For example, an entry \"~/mycode/\" means
|
||||
that Emacs will trust all the files in your directory \"mycode\".
|
||||
This variable can also be set to `:all', in which case Emacs will trust
|
||||
all files, which opens a gaping security hole."
|
||||
all files, which opens a gaping security hole. Emacs Lisp authors
|
||||
should note that this value must never be set by a major or minor mode."
|
||||
:type '(choice (repeat :tag "List" file)
|
||||
(const :tag "Trust everything (DANGEROUS!)" :all))
|
||||
:version "30.1")
|
||||
|
|
|
|||
|
|
@ -580,7 +580,6 @@ Customized bindings may be defined in `ielm-map', which currently contains:
|
|||
ielm-fontify-input-enable
|
||||
(comint-fontify-input-mode))
|
||||
|
||||
(setq-local trusted-content :all)
|
||||
(setq comint-prompt-regexp (concat "^" (regexp-quote ielm-prompt)))
|
||||
(setq-local paragraph-separate "\\'")
|
||||
(setq-local paragraph-start comint-prompt-regexp)
|
||||
|
|
@ -684,7 +683,8 @@ See `inferior-emacs-lisp-mode' for details."
|
|||
(unless (comint-check-proc buf-name)
|
||||
(with-current-buffer (get-buffer-create buf-name)
|
||||
(unless (zerop (buffer-size)) (setq old-point (point)))
|
||||
(inferior-emacs-lisp-mode)))
|
||||
(inferior-emacs-lisp-mode)
|
||||
(setq-local trusted-content :all)))
|
||||
(pop-to-buffer-same-window buf-name)
|
||||
(when old-point (push-mark old-point))))
|
||||
|
||||
|
|
|
|||
|
|
@ -325,6 +325,7 @@ automatically)."
|
|||
((csharp-mode csharp-ts-mode)
|
||||
. ,(eglot-alternatives
|
||||
'(("omnisharp" "-lsp")
|
||||
("OmniSharp" "-lsp")
|
||||
("csharp-ls"))))
|
||||
(purescript-mode . ("purescript-language-server" "--stdio"))
|
||||
((perl-mode cperl-mode)
|
||||
|
|
|
|||
|
|
@ -1340,8 +1340,7 @@ Semicolons start comments.
|
|||
|
||||
\\{lisp-interaction-mode-map}"
|
||||
:abbrev-table nil
|
||||
(setq-local lexical-binding t)
|
||||
(setq-local trusted-content :all))
|
||||
(setq-local lexical-binding t))
|
||||
|
||||
;;; Emacs Lisp Byte-Code mode
|
||||
|
||||
|
|
|
|||
|
|
@ -11249,7 +11249,9 @@ too short to have a dst element.
|
|||
(when initial-scratch-message
|
||||
(insert (substitute-command-keys initial-scratch-message))
|
||||
(set-buffer-modified-p nil))
|
||||
(funcall initial-major-mode))
|
||||
(funcall initial-major-mode)
|
||||
(when (eq initial-major-mode 'lisp-interaction-mode)
|
||||
(setq-local trusted-content :all)))
|
||||
scratch)))
|
||||
|
||||
(defun scratch-buffer ()
|
||||
|
|
|
|||
|
|
@ -3547,13 +3547,15 @@ causes it to evaluate `help-form' and display the result."
|
|||
char))
|
||||
|
||||
(defun sit-for (seconds &optional nodisp)
|
||||
"Redisplay, then wait for SECONDS seconds. Stop when input is available.
|
||||
"Redisplay, then wait for SECONDS seconds; stop when input is available.
|
||||
SECONDS may be a floating-point value.
|
||||
\(On operating systems that do not support waiting for fractions of a
|
||||
second, floating-point values are rounded down to the nearest integer.)
|
||||
|
||||
If optional arg NODISP is t, don't redisplay, just wait for input.
|
||||
Redisplay does not happen if input is available before it starts.
|
||||
If there's pending input, return nil immediately without redisplaying
|
||||
and without waiting.
|
||||
If optional arg NODISP is t, don't redisplay, just wait for input (but
|
||||
still return nil immediately if there's pending input).
|
||||
|
||||
Value is t if waited the full time with no input arriving, and nil otherwise."
|
||||
;; This used to be implemented in C until the following discussion:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue