[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-diffs] GNU AUCTeX branch, master, updated. da395f4c139c750a58565
From: |
Mosè Giordano |
Subject: |
[AUCTeX-diffs] GNU AUCTeX branch, master, updated. da395f4c139c750a58565bf8e5e6b622a37aec3b |
Date: |
Sat, 17 May 2014 16:28:35 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".
The branch, master has been updated
via da395f4c139c750a58565bf8e5e6b622a37aec3b (commit)
via e2f3e4434300da23a8d98c2709bbc13107e80e7e (commit)
from efbd5ff2b06b2724c51b7f85d575cb1add8193ab (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit da395f4c139c750a58565bf8e5e6b622a37aec3b
Author: Mosè Giordano <address@hidden>
Date: Sat May 17 18:26:04 2014 +0200
Convert font-latex-fontify-sectioning to float when used as a number.
* font-latex.el: Update copyright years.
(font-latex-update-sectioning-faces): Make sure
`height-scale' is a floating point number.
(font-latex-make-sectioning-faces): Ditto.
diff --git a/ChangeLog b/ChangeLog
index b607b40..2f27437 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2014-05-17 Mosè Giordano <address@hidden>
+
+ * font-latex.el: Update copyright years.
+ (font-latex-update-sectioning-faces): Make sure
+ `height-scale' is a floating point number.
+ (font-latex-make-sectioning-faces): Ditto.
+
2014-05-10 Mosè Giordano <address@hidden>
* style/siunitx.el: Update copyright years and specify last
diff --git a/font-latex.el b/font-latex.el
index 39be372..f2ad1f9 100644
--- a/font-latex.el
+++ b/font-latex.el
@@ -1,6 +1,6 @@
;;; font-latex.el --- LaTeX fontification for Font Lock mode.
-;; Copyright (C) 1996-2013 Free Software Foundation, Inc.
+;; Copyright (C) 1996-2014 Free Software Foundation, Inc.
;; Authors: Peter S. Galbraith <address@hidden>
;; Simon Marshall <address@hidden>
@@ -182,7 +182,10 @@ correct value from document properties."
"Update sectioning commands faces."
(unless height-scale
(setq height-scale (if (numberp font-latex-fontify-sectioning)
- font-latex-fontify-sectioning
+ ;; Make sure `height-scale' is a floating point
+ ;; number because `set-face-attribute' treats
+ ;; integers differently from floating points.
+ (float font-latex-fontify-sectioning)
1.1)))
(unless max
(setq max font-latex-sectioning-max))
@@ -236,7 +239,10 @@ Emacs."
(unless max (setq max font-latex-sectioning-max))
(unless height-scale
(setq height-scale (if (numberp font-latex-fontify-sectioning)
- font-latex-fontify-sectioning
+ ;; Make sure `height-scale' is a floating point
+ ;; number because the integer type is treated
+ ;; differently.
+ (float font-latex-fontify-sectioning)
1.1)))
(dotimes (num max)
(let* (;; reverse for XEmacs:
commit e2f3e4434300da23a8d98c2709bbc13107e80e7e
Author: Mosè Giordano <address@hidden>
Date: Sat May 17 17:43:16 2014 +0200
Make style/babel.el file non-executable.
diff --git a/style/babel.el b/style/babel.el
old mode 100755
new mode 100644
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 7 +++++++
font-latex.el | 12 +++++++++---
2 files changed, 16 insertions(+), 3 deletions(-)
mode change 100755 => 100644 style/babel.el
hooks/post-receive
--
GNU AUCTeX
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [AUCTeX-diffs] GNU AUCTeX branch, master, updated. da395f4c139c750a58565bf8e5e6b622a37aec3b,
Mosè Giordano <=