Merge from origin/emacs-29
5ce02c91bc
Improve `desktop-save-mode` docstring2f98b13ed0
; Fix doc strings of splash-screen data structures77f5d4d523
Fix completing-read functional REQUIRE-MATCH behavior
This commit is contained in:
commit
94fc8d5337
3 changed files with 22 additions and 10 deletions
|
@ -163,10 +163,19 @@ Used at desktop read to provide backward compatibility.")
|
|||
(define-minor-mode desktop-save-mode
|
||||
"Toggle desktop saving (Desktop Save mode).
|
||||
|
||||
When Desktop Save mode is enabled, the state of Emacs is saved from
|
||||
one session to another. In particular, Emacs will save the desktop when
|
||||
it exits (this may prompt you; see the option `desktop-save'). The next
|
||||
time Emacs starts, if this mode is active it will restore the desktop.
|
||||
When Desktop Save mode is enabled, the state of Emacs is saved from one
|
||||
session to another. The saved Emacs \"desktop configuration\" includes the
|
||||
buffers, their file names, major modes, buffer positions, window and frame
|
||||
configuration, and some important global variables.
|
||||
|
||||
To enable this feature for future sessions, customize `desktop-save-mode'
|
||||
to t, or add this line in your init file:
|
||||
|
||||
(desktop-save-mode 1)
|
||||
|
||||
When this mode is enabled, Emacs will save the desktop when it exits
|
||||
(this may prompt you, see the option `desktop-save'). The next time
|
||||
Emacs starts, if this mode is active it will restore the desktop.
|
||||
|
||||
To manually save the desktop at any time, use the command \\[desktop-save].
|
||||
To load it, use \\[desktop-read].
|
||||
|
|
|
@ -1970,10 +1970,13 @@ appear to be a match."
|
|||
;; Allow user to specify null string
|
||||
((= beg end) (funcall exit-function))
|
||||
;; The CONFIRM argument is a predicate.
|
||||
((and (functionp minibuffer-completion-confirm)
|
||||
(funcall minibuffer-completion-confirm
|
||||
(buffer-substring beg end)))
|
||||
(funcall exit-function))
|
||||
((functionp minibuffer-completion-confirm)
|
||||
(if (funcall minibuffer-completion-confirm
|
||||
(buffer-substring beg end))
|
||||
(funcall exit-function)
|
||||
(unless completion-fail-discreetly
|
||||
(ding)
|
||||
(completion--message "No match"))))
|
||||
;; See if we have a completion from the table.
|
||||
((test-completion (buffer-substring beg end)
|
||||
minibuffer-completion-table
|
||||
|
|
|
@ -1758,7 +1758,7 @@ If this is nil, no message will be displayed."
|
|||
"\n"))
|
||||
"A list of texts to show in the middle part of splash screens.
|
||||
Each element in the list should be a list of strings or pairs
|
||||
`:face FACE', like `fancy-splash-insert' accepts them.")
|
||||
`:KEYWORD VALUE', like what `fancy-splash-insert' accepts.")
|
||||
|
||||
(defconst fancy-about-text
|
||||
`((:face (variable-pitch font-lock-comment-face)
|
||||
|
@ -1851,7 +1851,7 @@ Each element in the list should be a list of strings or pairs
|
|||
"\tDisplay the Emacs manual in Info mode"))
|
||||
"A list of texts to show in the middle part of the About screen.
|
||||
Each element in the list should be a list of strings or pairs
|
||||
`:face FACE', like `fancy-splash-insert' accepts them.")
|
||||
`:KEYWORD VALUE', like what `fancy-splash-insert' accepts.")
|
||||
|
||||
|
||||
(defgroup fancy-splash-screen ()
|
||||
|
|
Loading…
Add table
Reference in a new issue