Merge from origin/emacs-29
e9b88f61cc
Fix a defcustom :type3216cd9695
Fix pulse-flag :type2065ab5562
Fix defcustoms in timeclock.elbdd3013249
; * lisp/image-mode.el (image-mode-to-text, image-mode-as...5c2d9ae48e
; * lisp/image-mode.el: Fix typos in doc strings (bug#663...fa0d3f45ae
; Improve wording of last change3ef259e28a
Improve documentation of `ns-use-proxy-icon`712505a82b
Document assigning libraries to packages in make-tarball.txt6bdc5cfe38
Doc fix; more consistently refer to "text terminals"d210d761b1
; Fix doc strings of overlay-arrow variables4fd00ff1f7
Fix defcustoms in type-break.el (Bug#66210)47770b0eca
Fix term-scroll-to-bottom-on-output :typef8bdc8dff0
; Normalize GNU ELPA :core package statements63ec6d998d
; * doc/emacs/custom.texi (Early Init File): Improve inde...a4185f87bd
; Silence macOS 14 warningd9d6e14a69
; * lisp/vc/vc.el (vc-next-action): Improve commentary.d558f38fe5
; * lisp/emacs-lisp/let-alist.el (let-alist): Fix quoting...71feee7930
Doc fix in let-alist for keys with nil value72cc9cf2cd
; Fix typos
This commit is contained in:
commit
1c9ddf3948
27 changed files with 97 additions and 61 deletions
|
@ -9,8 +9,8 @@
|
|||
;; Prefix: let-alist
|
||||
;; Separator: -
|
||||
|
||||
;; This is an Elpa :core package. Don't use functionality that is not
|
||||
;; compatible with Emacs 24.1.
|
||||
;; This is a GNU ELPA :core package. Avoid functionality that is not
|
||||
;; compatible with the version of Emacs recorded above.
|
||||
|
||||
;; This file is part of GNU Emacs.
|
||||
|
||||
|
@ -60,7 +60,7 @@
|
|||
;; the variables of the outer one. You can, however, access alists
|
||||
;; inside the original alist by using dots inside the symbol, as
|
||||
;; displayed in the example above by the `.site.contents'.
|
||||
;;
|
||||
|
||||
;;; Code:
|
||||
|
||||
|
||||
|
@ -139,7 +139,14 @@ essentially expands to
|
|||
If you nest `let-alist' invocations, the inner one can't access
|
||||
the variables of the outer one. You can, however, access alists
|
||||
inside the original alist by using dots inside the symbol, as
|
||||
displayed in the example above."
|
||||
displayed in the example above.
|
||||
|
||||
Note that there is no way to differentiate the case where a key
|
||||
is missing from when it is present, but its value is nil. Thus,
|
||||
the following form evaluates to nil:
|
||||
|
||||
(let-alist \\='((some-key . nil))
|
||||
.some-key)"
|
||||
(declare (indent 1) (debug t))
|
||||
(let ((var (make-symbol "alist")))
|
||||
`(let ((,var ,alist))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue