]> git.eshelyaron.com Git - emacs.git/commit
CC Mode: Eliminate duplicate function c-list-of-strings
authorAlan Mackenzie <acm@muc.de>
Sat, 18 Mar 2023 10:12:24 +0000 (10:12 +0000)
committerAlan Mackenzie <acm@muc.de>
Sat, 18 Mar 2023 10:26:54 +0000 (10:26 +0000)
commit147773a1ef20385dd75948fc5327e40e2003c9ea
treeb17d42d589341258af8e1ddfc36255622b216e84
parentf77ea400db0a081830b98e08a6626abbad4d92c4
CC Mode: Eliminate duplicate function c-list-of-strings

Replace it with the existing c-string-list-p.  Also put an autoload cookie in
front of c-string-list-p so that it will not be signalled as undefined by
loaddefs.el.

lisp/progmodes/cc-vars.el (c-string-list-p): Make this autoload.
(c-list-of-strings): Remove.
(c-font-lock-extra-types, c++-font-lock-extra-types)
(objc-font-lock-extra-types, java-font-lock-extra-types)
(idl-font-lock-extra-types, pike-font-lock-extra-types): In the autoload
cookies, replace c-list-of-strings with c-string-list-p.
lisp/progmodes/cc-vars.el