auctex-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[texmathp] (was: (still) problems with the filling functions and and inl


From: Uwe Brauer
Subject: [texmathp] (was: (still) problems with the filling functions and and inline equations)
Date: Sat, 16 Dec 2023 14:21:22 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

>>> "UB" == Uwe Brauer <oub@mat.ucm.es> writes:

> Hi 

> Some time ago Keita suggested to use 

> (defun   my-add-fill-inhibit-regexp ()
>   (interactive)
>   (setq-local auto-fill-inhibit-regexp ".*% *$"))
> (add-hook 'LaTeX-mode-hook 'my-add-fill-inhibit-regexp)

This also might help

(defun my-set-fill-nobreak-predicate ()
  (interactive)
  (add-to-list 'fill-nobreak-predicate 'texmathp))

(add-hook 'LaTeX-mode-hook 'my-set-fill-nobreak-predicate)


-- 
I strongly condemn Hamas heinous despicable pogroms/atrocities on Israel
I strongly condemn Putin's war of aggression against Ukraine.
I support to deliver weapons to Ukraine's military. 
I support the EU and NATO membership of Ukraine. 

Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]