Minor refactors across the board

This commit is contained in:
Henrik Lissner 2019-07-10 21:27:12 +02:00
parent ead07dea83
commit a201409fdd
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
4 changed files with 7 additions and 14 deletions

View file

@ -18,7 +18,7 @@ you will be prompted to select one.
If there are conflicting keys across the two camps, the built-in ones are
ignored. This makes it easy to override built-in snippets with private ones."
(when (memq this-command '(yas-expand +snippets/expand-on-region))
(when (eq this-command 'yas-expand)
(let* ((gc-cons-threshold doom-gc-cons-upper-limit)
(choices (cl-remove-duplicates choices :test #'+snippets--remove-p)))
(if (cdr choices)