projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a604e87
)
Make the test for existing multisession variables more sensible
author
Lars Ingebrigtsen
<larsi@gnus.org>
Sat, 22 Jan 2022 10:56:13 +0000
(11:56 +0100)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Sat, 22 Jan 2022 10:56:36 +0000
(11:56 +0100)
* lisp/emacs-lisp/multisession.el (multisession-edit-value):
Unconfuse the code.
lisp/emacs-lisp/multisession.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/multisession.el
b/lisp/emacs-lisp/multisession.el
index 4a293796a8309d7c7760dacf5e19f73d1e79d9ef..25307594c6ddf58963c4352e0be4944deab8779c 100644
(file)
--- a/
lisp/emacs-lisp/multisession.el
+++ b/
lisp/emacs-lisp/multisession.el
@@
-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)