Emacs 27 introduced `display-fill-column-indicator-mode` which replaces `hl-fill-column`. This commit adds some conditionals to use `display-fill-column-indicator-mode` on Emacs 27+, or falls back to `hl-fill-column-mode` on older versions.
6 lines
236 B
EmacsLisp
6 lines
236 B
EmacsLisp
;; -*- no-byte-compile: t; -*-
|
|
;;; ui/fill-column/packages.el
|
|
|
|
;; `hl-fill-column' is only used on Emacs versions before 27
|
|
(when (< emacs-major-version 27)
|
|
(package! hl-fill-column :pin "5782a91ba0182c4e562fa0db6379ff9dd472856b"))
|