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
|
||||
;; If the multisession variable already exists, use
|
||||
;; it (so that we update it).
|
||||
(and (intern-soft (cdr id))
|
||||
(bound-and-true-p (intern (cdr id))))
|
||||
(if-let (sym (intern-soft (cdr id)))
|
||||
(and (boundp sym) (symbol-value sym))
|
||||
nil)
|
||||
;; Create a new object.
|
||||
(make-multisession
|
||||
:package (car id)
|
||||
|
|
Loading…
Add table
Reference in a new issue