1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-12 09:51:05 -07:00
emacs/lisp/progmodes
Alan Mackenzie ad68bbd0da Fix another "wrong side of point" error in CC Mode.
This fixes (a follow-up to) bug #28850.
A internal generated form for scanning text to fontify had a LIMIT parameter.
It also locally bound LIMIT to a value possibly beyond the original LIMIT,
allowing point to move beyond the original LIMIT, and to create the wrong side
error.  Fix it by checking point is not beyond LIMIT in the outer context
before using it.

* lisp/progmodes/cc-fonts.el (c-make-font-lock-search-form): Add a new
parameter CHECK-POINT which, when non-nil, directs the function to generate a
check on point.
(c-make-font-lock-context-search-function): Invoke the above function with new
argument value t.
2017-10-26 18:29:39 +00:00
..
ada-mode.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
ada-prj.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
ada-stmt.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
ada-xref.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
antlr-mode.el ; Typo fixes, mostly repeated words 2017-10-09 22:55:06 -07:00
asm-mode.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
autoconf.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
bat-mode.el Fix last change in bat-mode.el 2017-09-22 20:41:10 +03:00
bug-reference.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
cc-align.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
cc-awk.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
cc-bytecomp.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
cc-cmds.el Refactor c-forward-token-2 with new function c-forward-over-token-and-ws. 2017-10-22 14:18:20 +00:00
cc-defs.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
cc-engine.el Fix a "wrong side of point" error in CC Mode. Fixes bug #28850. 2017-10-25 18:14:00 +00:00
cc-fonts.el Fix another "wrong side of point" error in CC Mode. 2017-10-26 18:29:39 +00:00
cc-guess.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
cc-langs.el Fix irregularities with CC Mode fontification, particularly with "known types" 2017-10-05 17:16:10 +00:00
cc-menus.el Prefer HTTPS to HTTP for gnu.org 2017-10-01 19:59:01 -07:00
cc-mode.el Fontify untyped function declarations in C Mode correctly. 2017-10-04 17:34:27 +00:00
cc-styles.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
cc-vars.el ; Typo fixes, mostly repeated words 2017-10-09 22:55:06 -07:00
cfengine.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
cmacexp.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
compile.el Prefer HTTPS to HTTP for gnu.org 2017-10-01 19:59:01 -07:00
cperl-mode.el ; Typo fixes, mostly repeated words 2017-10-09 22:55:06 -07:00
cpp.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
cwarn.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
dcl-mode.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
ebnf-abn.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
ebnf-bnf.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
ebnf-dtd.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
ebnf-ebx.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
ebnf-iso.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
ebnf-otz.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
ebnf-yac.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
ebnf2ps.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
ebrowse.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
elisp-mode.el Flymake backends must check proc obsoleteness in source buffer 2017-10-20 00:50:34 +01:00
etags.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
executable.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
f90.el Improve treatment of Fortran's "class default" 2017-10-19 20:05:48 -04:00
flymake-proc.el ; Prefer https: to http: in GNU URLs 2017-10-14 19:19:24 -07:00
flymake.el Make flymake's mouse-wheel interaction portable (Bug#28732) 2017-10-21 14:56:59 +02:00
fortran.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
gdb-mi.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
glasses.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
grep.el Improve doc string and prompt of 'grep-read-files' 2017-10-09 16:39:25 +03:00
gud.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
hideif.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
hideshow.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
icon.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
idlw-complete-structtag.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
idlw-help.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
idlw-shell.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
idlw-toolbar.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
idlwave.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
inf-lisp.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
js.el Fix two js indentation problems 2017-10-26 02:43:53 +03:00
ld-script.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
m4-mode.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
make-mode.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
mantemp.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
meta-mode.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
mixal-mode.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
modula2.el
octave.el Prefer HTTPS to HTTP for gnu.org 2017-10-01 19:59:01 -07:00
opascal.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
pascal.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
perl-mode.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
prog-mode.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
project.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
prolog.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
ps-mode.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
python.el Disable python native completion on w32 (Bug#28580) 2017-10-15 13:58:45 -04:00
ruby-mode.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
scheme.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
sh-script.el ; Spelling fixes 2017-09-29 16:41:50 -07:00
simula.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
sql.el Prefer HTTPS to HTTP for gnu.org 2017-10-01 19:59:01 -07:00
subword.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
tcl.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
vera-mode.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
verilog-mode.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
vhdl-mode.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
which-func.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
xref.el Reset default-directory inside *xref-grep* buffer 2017-09-26 01:47:23 +03:00
xscheme.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00