mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
chore(editor): fold siren-fci module into siren-display-fill-column module
This commit is contained in:
@@ -24,7 +24,14 @@ Optional ARG is passed directly to mode toggle function."
|
||||
|
||||
;; Emacs 26.x: Use fill-column-indicator package
|
||||
(when (version< emacs-version "27.0")
|
||||
(require 'siren-fci)
|
||||
(use-package fill-column-indicator
|
||||
:hook
|
||||
(prog-mode . fci-mode)
|
||||
|
||||
:custom
|
||||
(fci-handle-line-move-visual nil)
|
||||
(fci-handle-truncate-lines nil)
|
||||
(fci-rule-width 1))
|
||||
|
||||
(defun siren-display-fill-column (&optional arg)
|
||||
"Activate or deactivate visual fill column.
|
||||
|
||||
@@ -1,19 +0,0 @@
|
||||
;;; siren-fci.el --- jimeh's Emacs Siren: fill-column-indicator configuration.
|
||||
|
||||
;;; Commentary:
|
||||
|
||||
;; Basic configuration for fill-column-indicator.
|
||||
|
||||
;;; Code:
|
||||
|
||||
(use-package fill-column-indicator
|
||||
:hook
|
||||
(prog-mode . fci-mode)
|
||||
|
||||
:custom
|
||||
(fci-handle-line-move-visual nil)
|
||||
(fci-handle-truncate-lines nil)
|
||||
(fci-rule-width 1))
|
||||
|
||||
(provide 'siren-fci)
|
||||
;;; siren-fci.el ends here
|
||||
Reference in New Issue
Block a user