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:
parent
7daa3aaae9
commit
5eb03ae45b
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue