branch: elpa/magit
commit 93a7752842b2d4feff6b5deba44411e9c4249dfe
Author: Jonas Bernoulli <[email protected]>
Commit: Jonas Bernoulli <[email protected]>
magit-bookmark-name: Cosmetics
---
lisp/magit-section.el | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/lisp/magit-section.el b/lisp/magit-section.el
index cd77f558dff..6fcd849991b 100644
--- a/lisp/magit-section.el
+++ b/lisp/magit-section.el
@@ -2436,12 +2436,7 @@ with the variables' values as arguments, which were
recorded by
(format "%s%s"
(substring (symbol-name major-mode) 0 -5)
(if-let ((vars (get major-mode 'magit-bookmark-variables)))
- (mapcan (lambda (var)
- (let ((val (symbol-value var)))
- (if (and val (atom val))
- (list val)
- val)))
- vars)
+ (mapcan (lambda (var) (ensure-list (symbol-value var))) vars)
"")))
;;; Bitmaps