aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/ChangeLog
diff options
context:
space:
mode:
authorAlan Mackenzie2015-03-30 16:37:04 +0000
committerAlan Mackenzie2015-03-30 16:37:04 +0000
commit05a5a94000b82c81dc86cb7e2f3b4010bb2a4f0b (patch)
treedcb09fa7a5196aa42e50e0b940f9e3af0009bb21 /lisp/ChangeLog
parentd9eff02736c975dc5035e02249ff17c8a068d203 (diff)
downloademacs-05a5a94000b82c81dc86cb7e2f3b4010bb2a4f0b.tar.gz
emacs-05a5a94000b82c81dc86cb7e2f3b4010bb2a4f0b.zip
Correct calculation of CC Mode's font-lock region.
* cc-mode.el (c-fl-decl-start): Renamed from c-set-fl-decl-start. * Change signature such that nil is returned when no declaration is found. (c-change-expand-fl-region): Renamed from c-change-set-fl-decl-start. This now also handles expanding the font lock region to whole lines. (c-context-expand-fl-region): Renamed from c-context-set-fl-decl-start. This now also handles expanding the font lock region to whole lines. (c-font-lock-fontify-region): When a change font lock region is spuriously enlarged to the beginning-of-line by jit-lock, fontify the extra bit separately from the region calculated by CC Mode. (c-extend-after-change-region): Explicitly apply 'fontified properties to the extended bits of the font lock region. * cc-langs.el (c-before-font-lock-functions) (c-before-context-fontification-functions): Use new names for existing functions (see above).
Diffstat (limited to 'lisp/ChangeLog')
-rw-r--r--lisp/ChangeLog23
1 files changed, 23 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 69d9ab9f977..649e8849732 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,26 @@
12015-03-30 Alan Mackenzie <acm@muc.de>
2
3 Correct calculation of CC Mode's font-lock region.
4
5 * progmodes/cc-mode.el (c-fl-decl-start): Renamed from
6 c-set-fl-decl-start. Change signature such that nil is returned
7 when no declaration is found.
8 (c-change-expand-fl-region): Renamed from
9 c-change-set-fl-decl-start. This now also handles expanding the
10 font lock region to whole lines.
11 (c-context-expand-fl-region): Renamed from
12 c-context-set-fl-decl-start. This now also handles expanding the
13 font lock region to whole lines.
14 (c-font-lock-fontify-region): When a change font lock region is
15 spuriously enlarged to the beginning-of-line by jit-lock, fontify
16 the extra bit separately from the region calculated by CC Mode.
17 (c-extend-after-change-region): Explicitly apply 'fontified
18 properties to the extended bits of the font lock region.
19
20 * progmodes/cc-langs.el (c-before-font-lock-functions)
21 (c-before-context-fontification-functions): Use new names for
22 existing functions (see above).
23
12015-03-30 Richard Ryniker <ryniker@alum.mit.edu> (tiny change) 242015-03-30 Richard Ryniker <ryniker@alum.mit.edu> (tiny change)
2 25
3 * mail/sendmail.el (sendmail-send-it): Do not attempt to switch 26 * mail/sendmail.el (sendmail-send-it): Do not attempt to switch