Merge pull request #5251 from iyefrat/emacs27

Remove remaining `Emacs27+` checks
This commit is contained in:
Henrik Lissner 2021-07-10 10:29:07 -04:00 committed by GitHub
commit b886b9a635
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 24 additions and 54 deletions

View file

@ -96,10 +96,7 @@ Can be negative.")
;; `completion-styles', since that would be overly intrusive. E.g., it
;; results in `company-capf' returning far to many completion candidates.
;; Instead, append those styles so that they act as a fallback.
(add-to-list 'completion-styles
(if EMACS27+
(if fuzzy 'flex 'helm)
(if fuzzy 'helm-flex 'helm)) t))
(add-to-list 'completion-styles (if fuzzy 'flex 'helm) t))
:config
(set-popup-rule! "^\\*helm" :vslot -100 :size 0.22 :ttl nil)