mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-15 16:32:14 +00:00
Fix error editing multisession variables (bug#59710)
* lisp/emacs-lisp/multisession.el (multisession-edit-value):
Do not use `bound-and-true-p' on a non-symbol. This reverts
commit bd586121ac
.
This commit is contained in:
parent
24ca490d7d
commit
e5b0141b0d
1 changed files with 3 additions and 2 deletions
|
@ -447,8 +447,9 @@ storage method to list."
|
||||||
(let* ((object (or
|
(let* ((object (or
|
||||||
;; If the multisession variable already exists, use
|
;; If the multisession variable already exists, use
|
||||||
;; it (so that we update it).
|
;; it (so that we update it).
|
||||||
(and (intern-soft (cdr id))
|
(if-let (sym (intern-soft (cdr id)))
|
||||||
(bound-and-true-p (intern (cdr id))))
|
(and (boundp sym) (symbol-value sym))
|
||||||
|
nil)
|
||||||
;; Create a new object.
|
;; Create a new object.
|
||||||
(make-multisession
|
(make-multisession
|
||||||
:package (car id)
|
:package (car id)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue