emacs/lisp/progmodes
Alan Mackenzie 30c5f5cdef Allow compilation during loading of Modes derived from a CC Mode mode.
Fixes debbugs#19206.

cc-bytecomp.el (cc-bytecomp-compiling-or-loading): new function which
walks the stack to discover whether we're compiling or loading.
(cc-bytecomp-is-compiling): Reformulate, and move towards beginning.
(cc-bytecomp-is-loading): New defsubst.
(cc-bytecomp-setup-environment, cc-bytecomp-restore-environment): Use
the
above defsubsts.
(cc-require-when-compile, cc-bytecomp-defvar)
(cc-bytecomp-defun): Simplify conditionals.

cc-defs.el (cc-bytecomp-compiling-or-loading): "Borrow" this function
from cc-bytecomp.el.
(c-get-current-file): Reformulate using the above.
(c-lang-defconst): Prevent duplicate entries of file names in a symbol's
'source property.
(c-lang-const): Use cc-bytecomp-is-compiling.

cc-langs.el (c-make-init-lang-vars-fun): Use cc-bytecomp-is-compiling.
2015-01-13 15:47:26 +00:00
..
ada-mode.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
ada-prj.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
ada-stmt.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
ada-xref.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
antlr-mode.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
asm-mode.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
autoconf.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
bat-mode.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
bug-reference.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
cc-align.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
cc-awk.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
cc-bytecomp.el Allow compilation during loading of Modes derived from a CC Mode mode. 2015-01-13 15:47:26 +00:00
cc-cmds.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
cc-defs.el Allow compilation during loading of Modes derived from a CC Mode mode. 2015-01-13 15:47:26 +00:00
cc-engine.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
cc-fonts.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
cc-guess.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
cc-langs.el Allow compilation during loading of Modes derived from a CC Mode mode. 2015-01-13 15:47:26 +00:00
cc-menus.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
cc-mode.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
cc-styles.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
cc-vars.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
cfengine.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
cmacexp.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
compile.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
cperl-mode.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
cpp.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
cwarn.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
dcl-mode.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
ebnf-abn.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
ebnf-bnf.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
ebnf-dtd.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
ebnf-ebx.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
ebnf-iso.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
ebnf-otz.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
ebnf-yac.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
ebnf2ps.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
ebrowse.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
elisp-mode.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
etags.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
executable.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
f90.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
flymake.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
fortran.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
gdb-mi.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
glasses.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
grep.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
gud.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
hideif.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
hideshow.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
icon.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
idlw-complete-structtag.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
idlw-help.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
idlw-shell.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
idlw-toolbar.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
idlwave.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
inf-lisp.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
js.el Teach js-mode about ES6 generators 2015-01-09 10:25:50 -08:00
ld-script.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
m4-mode.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
make-mode.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
mantemp.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
meta-mode.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
mixal-mode.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
modula2.el lisp/net/*.el, lisp/progmodes/*.el: Fix docstring typos. 2014-03-14 01:22:33 +01:00
octave.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
opascal.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
pascal.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
perl-mode.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
prog-mode.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
prolog.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
ps-mode.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
python.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
ruby-mode.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
scheme.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
sh-script.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
simula.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
sql.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
subword.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
tcl.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
vera-mode.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
verilog-mode.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
vhdl-mode.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
which-func.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
xref.el Add autoload cookie for xref-marker-stack-empty-p (Bug#19554). 2015-01-12 18:26:39 +01:00
xscheme.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00