logo       

Re: texinfo-fill-workaround.el -- no break after @: when filling: msg#00009

emacs.sources

Subject: Re: texinfo-fill-workaround.el -- no break after @: when filling

Stefan Monnier <monnier@xxxxxxxxxxxxxxxx> writes:
>
> fill-nobreak-predicate.

Ah, that one's hiding a bit. I see it's as easy as say

(add-hook 'texinfo-mode-hook
(lambda ()
(set (make-local-variable 'fill-nobreak-predicate)
(lambda ()
(string-equal (buffer-substring (- (point) 3) (point))
"@: ")))))


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise