el/dot-emacs.el: Set fill column smaller in `bibtex-mode'.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 3 Sep 2019 10:33:51 +0000 (11:33 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Tue, 3 Sep 2019 10:33:51 +0000 (11:33 +0100)
There's some bug in the mode-specific filling which causes overly long
lines sometimes.

el/dot-emacs.el

index 1ee073f..d2c9275 100644 (file)
@@ -3509,6 +3509,8 @@ strip numbers instead."
 (setq LaTeX-syntactic-comments nil
       LaTeX-fill-break-at-separators '(\\\[))
 
+(add-hook 'bibtex-mode-hook (lambda () (setq fill-column 76)))
+
 ;;;--------------------------------------------------------------------------
 ;;; HTML, CSS, and other web foolishness.