branch: main
commit 2cab42b6d2d1e5d121df1fe0588890b4c79019e2
Author: Ikumi Keita <[email protected]>
Commit: Ikumi Keita <[email protected]>
Don't expand abbrev during filling
* latex.el (LaTeX-fill-newline): Follow update in `fill-newline'.
---
latex.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/latex.el b/latex.el
index bc27b266..79d79303 100644
--- a/latex.el
+++ b/latex.el
@@ -5279,7 +5279,7 @@ See `fill-move-to-break-point' for the meaning of
LINEBEG."
(defun LaTeX-fill-newline ()
"Replace whitespace here with one newline and indent the line."
(skip-chars-backward " \t")
- (newline 1)
+ (insert ?\n)
;; Give newline the properties of the space(s) it replaces
(set-text-properties (1- (point)) (point)
(text-properties-at (point)))