[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex d4ba585 30/78: Fix missing unfontification of in
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex d4ba585 30/78: Fix missing unfontification of invisible property |
Date: |
Mon, 19 Oct 2015 09:10:50 +0000 |
branch: externals/auctex
commit d4ba58533a321bb2ec04a6589de1905190f2e15c
Author: Tassilo Horn <address@hidden>
Commit: Tassilo Horn <address@hidden>
Fix missing unfontification of invisible property
* font-latex.el (font-latex-unfontify-region): Also remove the
`invisible' text properties.
---
ChangeLog | 5 +++++
font-latex.el | 24 +++++++++++++-----------
2 files changed, 18 insertions(+), 11 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 7ddb7cf..422ad9f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-09-05 Tassilo Horn <address@hidden>
+
+ * font-latex.el (font-latex-unfontify-region): Also remove the
+ `invisible' text properties.
+
2015-09-04 Mos� Giordano <address@hidden>
* doc/auctex.texi (Starting a Command): Update references to
diff --git a/font-latex.el b/font-latex.el
index e146f15..d3e853f 100644
--- a/font-latex.el
+++ b/font-latex.el
@@ -1303,16 +1303,18 @@ If optional argument is non-nil, print status messages."
;; property is only added if `font-lock-multiline' is bound.)
(unless (boundp 'font-lock-multiline)
(remove-text-properties beg end '(font-latex-multiline)))
- (while (< beg end)
- (let ((next (next-single-property-change beg 'display nil end))
- (prop (get-text-property beg 'display)))
- (if (and (eq (car-safe prop) 'raise)
- (member (car-safe (cdr prop))
- (list (nth 1 (car font-latex-script-display))
- (nth 1 (cdr font-latex-script-display))))
- (null (cddr prop)))
- (put-text-property beg next 'display nil))
- (setq beg next))))
+ (let ((start beg))
+ (while (< beg end)
+ (let ((next (next-single-property-change beg 'display nil end))
+ (prop (get-text-property beg 'display)))
+ (if (and (eq (car-safe prop) 'raise)
+ (member (car-safe (cdr prop))
+ (list (nth 1 (car font-latex-script-display))
+ (nth 1 (cdr font-latex-script-display))))
+ (null (cddr prop)))
+ (put-text-property beg next 'display nil))
+ (setq beg next)))
+ (remove-text-properties start end '(invisible))))
(defadvice font-lock-after-change-function (before font-latex-after-change
activate)
@@ -1949,7 +1951,7 @@ END marks boundaries for searching for quotation ends."
(defface font-latex-doctex-preprocessor-face
'((t (:inherit (font-latex-doctex-documentation-face
font-lock-builtin-face ; Emacs 21 does not provide
- ; the preprocessor face.
+ ; the preprocessor face.
font-lock-preprocessor-face))))
"Face used to highlight preprocessor directives in docTeX mode."
:group 'font-latex-highlighting-faces)
- [elpa] externals/auctex e2b2413 28/78: Reference TeX-command-run-all in documentation., (continued)
- [elpa] externals/auctex e2b2413 28/78: Reference TeX-command-run-all in documentation., Tassilo Horn, 2015/10/19
- [elpa] externals/auctex 69004bc 33/78: Fix wrong TeX-command-default guess for region files, Tassilo Horn, 2015/10/19
- [elpa] externals/auctex 29261e3 34/78: Minor improvements to hyperref.el., Tassilo Horn, 2015/10/19
- [elpa] externals/auctex 066cf5a 36/78: Create Italian style file for polyglossia., Tassilo Horn, 2015/10/19
- [elpa] externals/auctex 3536b06 48/78: Use default argument of completing-read., Tassilo Horn, 2015/10/19
- [elpa] externals/auctex 100ba35 50/78: Fix mail address in Maintainer-header., Tassilo Horn, 2015/10/19
- [elpa] externals/auctex 440936d 52/78: Make `LaTeX-indent-environment-list' local., Tassilo Horn, 2015/10/19
- [elpa] externals/auctex 13941d8 54/78: Add new style subcaption.el., Tassilo Horn, 2015/10/19
- [elpa] externals/auctex 7b4b894 40/78: Add new style fontenc.el., Tassilo Horn, 2015/10/19
- [elpa] externals/auctex 05cf5be 43/78: Append `-list' to `LaTeX-eso-pic-package-options'., Tassilo Horn, 2015/10/19
- [elpa] externals/auctex d4ba585 30/78: Fix missing unfontification of invisible property,
Tassilo Horn <=
- [elpa] externals/auctex f470df8 51/78: Make `LaTeX-indent-environment-list' local., Tassilo Horn, 2015/10/19
- [elpa] externals/auctex 4cfe30e 46/78: Do not reference auto.el in Makefile and gitignore., Tassilo Horn, 2015/10/19
- [elpa] externals/auctex 0ac0fa8 57/78: Avoid searching with kpathsea in duplicate directories., Tassilo Horn, 2015/10/19
- [elpa] externals/auctex 48093fa 58/78: Use LaTeX-add-lengths for LaTeX-lengths., Tassilo Horn, 2015/10/19
- [elpa] externals/auctex 2da69ab 11/78: Add fontification for `\newcolumntype'., Tassilo Horn, 2015/10/19
- [elpa] externals/auctex f4c5af9 37/78: Fix loading of polyglossia language style files., Tassilo Horn, 2015/10/19
- [elpa] externals/auctex 8359f08 39/78: Fix in Italian language polyglossia style file., Tassilo Horn, 2015/10/19
- [elpa] externals/auctex 0377238 31/78: Add TeX-compile-run-all to AUCTeX reference card., Tassilo Horn, 2015/10/19
- [elpa] externals/auctex 5dd4f21 35/78: Style file for polyglossia package., Tassilo Horn, 2015/10/19
- [elpa] externals/auctex 4810753 41/78: Add new style Alegreya.el., Tassilo Horn, 2015/10/19