mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-04 19:29:37 +00:00
Merge pull request from npostavs/easy-diminish
needed extra layer of nesting for diminish calls GitHub-reference: https://github.com/jwiegley/use-package/issues/21
This commit is contained in:
commit
ef6b97c29f
1 changed files with 4 additions and 4 deletions
|
@ -457,12 +457,12 @@ For full documentation. please see commentary.
|
|||
(ignore-errors
|
||||
,@(cond
|
||||
((stringp diminish-var)
|
||||
`(diminish (quote ,(intern (concat name-string "-mode")))
|
||||
,diminish-var))
|
||||
`((diminish (quote ,(intern (concat name-string "-mode")))
|
||||
,diminish-var)))
|
||||
((symbolp diminish-var)
|
||||
`(diminish (quote ,diminish-var)))
|
||||
`((diminish (quote ,diminish-var))))
|
||||
((and (consp diminish-var) (stringp (cdr diminish-var)))
|
||||
`(diminish (quote ,(car diminish-var)) ,(cdr diminish-var)))
|
||||
`((diminish (quote ,(car diminish-var)) ,(cdr diminish-var))))
|
||||
(t ; list of symbols or (symbol . "string") pairs
|
||||
(mapcar (lambda (var)
|
||||
(if (listp var)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue