2019-07-21 23:57:57 +02:00
|
|
|
;;; ui/fill-column/autoload.el -*- lexical-binding: t; -*-
|
|
|
|
|
2019-07-24 15:25:24 +02:00
|
|
|
;;;###autoload (autoload 'hl-fill-column-mode "hl-fill-column" nil t)
|
|
|
|
|
2019-07-21 23:57:57 +02:00
|
|
|
;;;###autoload
|
2020-09-26 11:49:03 -04:00
|
|
|
;; Emacs 27 introduced `display-fill-column-indicator-mode' which should be
|
|
|
|
;; used instead of `hl-fill-column-mode'
|
2020-09-26 19:30:09 -04:00
|
|
|
(if EMACS27+
|
2020-09-26 11:49:03 -04:00
|
|
|
(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)
|
|
|
|
#'hl-fill-column-mode))
|