Make the test for existing multisession variables more sensible
* lisp/emacs-lisp/multisession.el (multisession-edit-value): Unconfuse the code.
This commit is contained in:
parent
a604e877cd
commit
bd586121ac
1 changed files with 2 additions and 2 deletions
|
@ -437,8 +437,8 @@ storage method to list."
|
|||
(let* ((object (or
|
||||
;; If the multisession variable already exists, use
|
||||
;; it (so that we update it).
|
||||
(and (boundp (intern-soft (cdr id)))
|
||||
(symbol-value (intern (cdr id))))
|
||||
(and (intern-soft (cdr id))
|
||||
(bound-and-true-p (intern (cdr id))))
|
||||
;; Create a new object.
|
||||
(make-multisession
|
||||
:package (car id)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue