Skip to content

Commit

Permalink
lispy.el (lispy-setq): Simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
abo-abo committed Jun 10, 2015
1 parent 0c6fab2 commit d3c8c77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lispy.el
Original file line number Diff line number Diff line change
Expand Up @@ -4063,8 +4063,8 @@ X is an item of a radio- or choice-type defcustom."
(when (and (boundp sym)
(setq sym-type (get sym 'custom-type)))
(cond
((or (eq sym-type 'choice)
(and (consp sym-type) (eq (car sym-type) 'radio)))
((and (consp sym-type)
(memq (car sym-type) '(choice radio)))
(setq cands (mapcar #'lispy--setq-doconst (cdr sym-type))))
((eq sym-type 'boolean)
(setq cands
Expand Down

0 comments on commit d3c8c77

Please sign in to comment.