Change fill-column conditionals to use macro

The conditionals in the `fill-column` module used the raw version number, this
commit changes them to use the macro provided by DOOM.

Suggested by @gagbo
This commit is contained in:
Steven vanZyl 2020-09-26 19:30:09 -04:00
parent 7daa3aaae9
commit 5eb03ae45b
2 changed files with 2 additions and 2 deletions

View file

@ -5,7 +5,7 @@
;;;###autoload
;; Emacs 27 introduced `display-fill-column-indicator-mode' which should be
;; used instead of `hl-fill-column-mode'
(if (>= emacs-major-version 27)
(if EMACS27+
(add-hook! '(text-mode-hook prog-mode-hook conf-mode-hook)
#'display-fill-column-indicator-mode)
(add-hook! '(text-mode-hook prog-mode-hook conf-mode-hook)