emacs/lisp/progmodes
Alan Mackenzie 7eef16a923 C++ Mode. Fix anomaly occurring when a ">" is deleted then reinserted.
This fontification anomaly happened because after deleting the ">",
c-forward-<>-arglist parses the preceding identifier as a putative type but
stores it in c-found-types before it becomes clear it is not an unambiguous
type.  c-forward-<>-arglist fails, leaving the spurious type id in
c-found-types.  Fix this by "binding" c-found-types "to itself" in
c-forward-<>-arglist, and restoring the original value when that function call
fails.

* lisp/progmodes/cc-engine.el (c-copy-found-types): New function.
(c-forward-<>-arglist): Record the original value of c-found-types at the
beginning of the function, and restore it at the end on failure.

* lisp/progmodes/cc-mode.el (c-unfind-coalesced-tokens): Rewrite more
accurately.
2017-07-13 19:56:00 +00:00
..
ada-mode.el Fix all unescaped character literals 2017-05-07 13:22:34 +02:00
ada-prj.el Avoid add-to-list on local variables 2017-01-04 00:40:45 -05:00
ada-stmt.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
ada-xref.el Avoid add-to-list on local variables 2017-01-04 00:40:45 -05:00
antlr-mode.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
asm-mode.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
autoconf.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
bat-mode.el Improve fontification in bat-mode 2017-02-10 11:23:24 +02:00
bug-reference.el Small fix for bug-reference.el 2017-07-05 13:32:26 -04:00
cc-align.el * lisp/progmodes/cc-align.el: Mark unused arguments 2017-07-04 21:46:05 -04:00
cc-awk.el * lisp/progmodes/cc-awk.el: Mark unused args 2017-07-04 22:30:33 -04:00
cc-bytecomp.el * lisp/progmodes/cc-bytecomp.el: Mark unused args 2017-07-04 22:29:49 -04:00
cc-cmds.el Fix some bugs in c-defun-name. This fixes bug #25623. 2017-07-12 20:15:56 +00:00
cc-defs.el CC Mode: create and use c-set-keymap-parent. 2017-07-12 17:03:35 +00:00
cc-engine.el C++ Mode. Fix anomaly occurring when a ">" is deleted then reinserted. 2017-07-13 19:56:00 +00:00
cc-fonts.el Make C++ digit separators work. Amend the handling of single quotes generally 2017-07-01 15:43:07 +00:00
cc-guess.el * lisp/progmodes/cc-guess.el: Remove unused var 2017-07-04 21:55:44 -04:00
cc-langs.el * lisp/progmodes/cc-langs.el: Mark unused args 2017-07-04 22:23:57 -04:00
cc-menus.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
cc-mode.el C++ Mode. Fix anomaly occurring when a ">" is deleted then reinserted. 2017-07-13 19:56:00 +00:00
cc-styles.el Make CC Mode load cl-lib rather than cl in Emacs 26. 2017-06-25 13:55:50 +00:00
cc-vars.el * lisp/progmodes/cc-vars.el: Mark unused args 2017-07-04 22:26:20 -04:00
cfengine.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
cmacexp.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
compile.el Merge from origin/emacs-25 2017-03-19 12:24:51 -07:00
cperl-mode.el Fix all unescaped character literals 2017-05-07 13:22:34 +02:00
cpp.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
cwarn.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
dcl-mode.el ; Update some more Maintainer: header comments 2017-06-05 21:08:07 -04:00
ebnf-abn.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
ebnf-bnf.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
ebnf-dtd.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
ebnf-ebx.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
ebnf-iso.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
ebnf-otz.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
ebnf-yac.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
ebnf2ps.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
ebrowse.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
elisp-mode.el Fix eldoc bug with curved quote 2017-06-04 09:13:37 -07:00
etags.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
executable.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
f90.el Convert more uses of looking-at to following-char 2017-07-06 23:59:58 -04:00
flymake.el Merge from origin/emacs-25 2017-03-19 12:29:06 -07:00
fortran.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
gdb-mi.el Fix handling of Python/Guile commands with arguments in gdb-mi.el 2017-06-10 11:29:58 +03:00
glasses.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
grep.el Extract grep-find-ignored-directories processing from rgrep-default-command 2017-02-10 14:53:02 -05:00
gud.el Fix GUD "Stop" display when running pdb 2017-05-27 15:15:18 +03:00
hideif.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
hideshow.el lisp/*.el: Fix some warnings 2017-01-29 19:34:35 +01:00
icon.el Don't pass the value of point to 'push-mark', as that's the default. 2017-04-28 11:25:26 +03:00
idlw-complete-structtag.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
idlw-help.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
idlw-shell.el Fix all unescaped character literals 2017-05-07 13:22:34 +02:00
idlw-toolbar.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
idlwave.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
inf-lisp.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
js.el Offer non-aligned indentation in lists in js-mode (Bug#27503) 2017-07-03 20:06:27 +02:00
ld-script.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
m4-mode.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
make-mode.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
mantemp.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
meta-mode.el Don't pass the value of point to 'push-mark', as that's the default. 2017-04-28 11:25:26 +03:00
mixal-mode.el ; Update some more Maintainer: header comments 2017-06-05 21:08:07 -04:00
modula2.el
octave.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
opascal.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
pascal.el Don't pass the value of point to 'push-mark', as that's the default. 2017-04-28 11:25:26 +03:00
perl-mode.el Don't pass the value of point to 'push-mark', as that's the default. 2017-04-28 11:25:26 +03:00
prog-mode.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
project.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
prolog.el Mark prolog indent variables as safe (bug#27369) 2017-06-20 21:05:38 -04:00
ps-mode.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
python.el * lisp/progmodes/python.el (auto-mode-alist): Add .pyi. (Bug#27847) 2017-07-05 15:21:28 -04:00
ruby-mode.el Turn on lexical-binding in ruby-mode 2017-02-17 19:01:11 -05:00
scheme.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
sh-script.el Don't treat ' as a string delimiter in RPM spec files 2017-05-23 18:48:19 +01:00
simula.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
sql.el Merge from origin/emacs-25 2017-03-19 12:27:55 -07:00
subword.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
tcl.el Make tcl-auto-fill-mode obsolete (Bug#10772) 2017-06-27 20:34:14 -04:00
vera-mode.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
verilog-mode.el ; Small fixes for some Author: header comments 2017-06-05 20:35:17 -04:00
vhdl-mode.el Doc fix for vhdl-mode re mail-host-address 2017-02-12 17:36:33 -08:00
which-func.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
xref.el Use regexp matching instead of checking exit status 2017-05-30 00:59:03 +03:00
xscheme.el Don't pass the value of point to 'push-mark', as that's the default. 2017-04-28 11:25:26 +03:00