[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex 154fc6e 28/34: Only re-fill \item contents if au
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex 154fc6e 28/34: Only re-fill \item contents if auto-fill-mode is active (bug#48760) |
Date: |
Sun, 6 Jun 2021 11:40:05 -0400 (EDT) |
branch: externals/auctex
commit 154fc6ee0fd866a757a39f0a778f51d3451e524d
Author: Tassilo Horn <tsdh@gnu.org>
Commit: Tassilo Horn <tsdh@gnu.org>
Only re-fill \item contents if auto-fill-mode is active (bug#48760)
* latex.el (LaTeX-env-item): Only fill the paragraph of the new \item
if auto-fill-mode is activated (bug#48760).
---
latex.el | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/latex.el b/latex.el
index 3ed35a9..8145158 100644
--- a/latex.el
+++ b/latex.el
@@ -1077,8 +1077,9 @@ If nil, act like the empty string is given, but do not
prompt."
(deactivate-mark)
(LaTeX-insert-item)
;; The inserted \item may have outdented the first line to the
- ;; right. Fill it, if appropriate.
- (when (and (not (looking-at "$"))
+ ;; right. Fill it, if appropriate and `auto-fill-mode' is active.
+ (when (and auto-fill-function
+ (not (looking-at "$"))
(not (assoc environment LaTeX-indent-environment-list))
(> (- (line-end-position) (line-beginning-position))
(current-fill-column)))
- [elpa] externals/auctex 2a4cbbb 21/34: Improve `TeX-electric-macro' in Texinfo mode, (continued)
- [elpa] externals/auctex 2a4cbbb 21/34: Improve `TeX-electric-macro' in Texinfo mode, Tassilo Horn, 2021/06/06
- [elpa] externals/auctex b5f34a9 23/34: Followup my commit on May 6, Tassilo Horn, 2021/06/06
- [elpa] externals/auctex a21c10a 29/34: Check for `auto-fill-function' before filling, Tassilo Horn, 2021/06/06
- [elpa] externals/auctex 93d66d1 31/34: Adapt for Texinfo mode, Tassilo Horn, 2021/06/06
- [elpa] externals/auctex 8990190 16/34: Improve style/algorithm.el, Tassilo Horn, 2021/06/06
- [elpa] externals/auctex 34ab611 22/34: Improve completion, Tassilo Horn, 2021/06/06
- [elpa] externals/auctex a8e1a5d 18/34: Update documentation, Tassilo Horn, 2021/06/06
- [elpa] externals/auctex 1ded6fc 24/34: Fix markups in documents, Tassilo Horn, 2021/06/06
- [elpa] externals/auctex e7b25d1 26/34: Use #' rather than ' to quote function names, Tassilo Horn, 2021/06/06
- [elpa] externals/auctex bb1bb25 27/34: Remove backspace as paragraph separator, Tassilo Horn, 2021/06/06
- [elpa] externals/auctex 154fc6e 28/34: Only re-fill \item contents if auto-fill-mode is active (bug#48760),
Tassilo Horn <=
- [elpa] externals/auctex c540e3a 30/34: Define minor modes using keywords, Tassilo Horn, 2021/06/06
- [elpa] externals/auctex cd63c11 32/34: Use own error description for LaTeX mode only, Tassilo Horn, 2021/06/06
- [elpa] externals/auctex dfd6585 33/34: Merge remote-tracking branch 'origin/master' into externals/auctex, Tassilo Horn, 2021/06/06
- [elpa] externals/auctex 81ce0ee 19/34: Add -dDELAYBIND only when necessary, Tassilo Horn, 2021/06/06
- [elpa] externals/auctex b0c5a4e 20/34: Delete style/latexinfo.el from AUCTeX, Tassilo Horn, 2021/06/06
- [elpa] externals/auctex 6c32b97 34/34: Release GNU AUCTeX 13.0.12, Tassilo Horn, 2021/06/06
- [elpa] externals/auctex 1d32138 25/34: ; Silence the compiler, Tassilo Horn, 2021/06/06