Commit 0dcf9fdb authored by Victor A. Stoichiţă's avatar Victor A. Stoichiţă
Browse files

use visual-fill-column

parent 7dbe69d7
......@@ -74,6 +74,11 @@
(insert "«  »");<-- deux espaces insécables
(backward-char 2)))))
;; Mimick auto-fill-mode but leave long lines
(add-hook 'visual-line-mode-hook #'visual-fill-column-mode)
(setq visual-fill-column-fringes-outside-margins t)
(advice-add 'text-scale-adjust :after #'visual-fill-column-adjust)
(add-hook 'text-mode-hook (lambda ()
(set-syntax-table V-syntax-table)
(local-set-key "«" 'V-guillemets)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment