1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-25 23:10:47 -08:00
emacs/doc/misc
Alan Mackenzie 35a13fca32 CC Mode: allow specified directives (e.g. pragma) to be indented as statements
* lisp/progmodes/cc-cmds.el (c-align-cpp-indent-to-body)
(c-cpp-indent-to-body-flag, c-electric-pragma)
(c-add-indent-to-body-to-abbrev-table, c-clear-stale-indent-to-body-abbrevs)
(c-toggle-cpp-indent-to-body): New functions and variables.

* lisp/progmodes/cc-langs.el (c-std-abbrev-keywords): New lang const/var.

* lisp/progmodes/cc-mode.el (c-populate-abbrev-table): New function.
(c-basic-common-init): call the c-populate-abbrev-table.
(c-mode, c++-mode, objc-mode, java-mode, idl-mode, pike-mode, awk-mode):
Remove the setting of MODE-abbrev-table.

* lisp/progmodes/cc-vars.el (c-cpp-indent-to-body-directives): New defcustom.

* doc/misc/cc-mode.texi (Custom Macros): Introduce and refer to ....
(Indenting Directives): New page documenting the new mechanism.
2020-03-08 16:21:15 +00:00
..
auth.texi Update copyright year to 2020 2020-01-01 00:59:52 +00:00
autotype.texi Update copyright year to 2020 2020-01-01 00:59:52 +00:00
bovine.texi Update copyright year to 2020 2020-01-01 00:59:52 +00:00
calc.texi Merge from origin/emacs-27 2020-02-13 07:50:24 -08:00
cc-mode.texi CC Mode: allow specified directives (e.g. pragma) to be indented as statements 2020-03-08 16:21:15 +00:00
ChangeLog.1 Update copyright year to 2020 2020-01-01 00:59:52 +00:00
cl.texi Update copyright year to 2020 2020-01-01 00:59:52 +00:00
dbus.texi Update copyright year to 2020 2020-01-01 00:59:52 +00:00
dired-x.texi Replace doc references to load-hooks 2020-01-16 21:53:37 -08:00
doclicense.texi Merge from Gnulib 2017-10-01 18:31:10 -07:00
ebrowse.texi Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ede.texi Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ediff.texi Replace doc references to load-hooks 2020-01-16 21:53:37 -08:00
edt.texi Update copyright year to 2020 2020-01-01 00:59:52 +00:00
efaq-w32.texi Update copyright year to 2020 2020-01-01 00:59:52 +00:00
efaq.texi Merge from origin/emacs-27 2020-01-20 07:50:30 -08:00
eieio.texi Fix documented slot name of eieio-instance-tracker class 2020-02-26 15:47:12 -05:00
emacs-gnutls.texi Update copyright year to 2020 2020-01-01 00:59:52 +00:00
emacs-mime.texi Update copyright year to 2020 2020-01-01 00:59:52 +00:00
epa.texi Update copyright year to 2020 2020-01-01 00:59:52 +00:00
erc.texi Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ert.texi Update copyright year to 2020 2020-01-01 00:59:52 +00:00
eshell.texi Update copyright year to 2020 2020-01-01 00:59:52 +00:00
eudc.texi Update copyright year to 2020 2020-01-01 00:59:52 +00:00
eww.texi Update copyright year to 2020 2020-01-01 00:59:52 +00:00
flymake.texi Update copyright year to 2020 2020-01-01 00:59:52 +00:00
forms.texi Update copyright year to 2020 2020-01-01 00:59:52 +00:00
gnus-coding.texi Remove references to obsolete libraries 2020-01-16 15:33:17 +01:00
gnus-faq.texi Update copyright year to 2020 2020-01-01 00:59:52 +00:00
gnus.texi Merge from origin/emacs-27 2020-03-04 13:57:58 -08:00
gpl.texi Merge from Gnulib 2017-10-01 18:31:10 -07:00
htmlfontify.texi Update copyright year to 2020 2020-01-01 00:59:52 +00:00
idlwave.texi Replace doc references to load-hooks 2020-01-16 21:53:37 -08:00
ido.texi * doc/misc/ido.texi (Ignoring): Reword per Texinfo warning. 2020-01-16 21:55:14 -08:00
info.texi Update copyright year to 2020 2020-01-01 00:59:52 +00:00
mairix-el.texi Update copyright year to 2020 2020-01-01 00:59:52 +00:00
Makefile.in Prefer saying "Info manual" to "info page" in docs 2020-01-23 14:44:27 +01:00
message.texi Update copyright year to 2020 2020-01-01 00:59:52 +00:00
mh-e.texi Update documentation for mh-show-mode-hook 2020-02-01 09:18:46 -08:00
newsticker.texi Update copyright year to 2020 2020-01-01 00:59:52 +00:00
nxml-mode.texi Update copyright year to 2020 2020-01-01 00:59:52 +00:00
octave-mode.texi Update copyright year to 2020 2020-01-01 00:59:52 +00:00
org.texi Merge from origin/emacs-27 2020-02-13 07:50:30 -08:00
pcl-cvs.texi Update copyright year to 2020 2020-01-01 00:59:52 +00:00
pgg.texi Update copyright year to 2020 2020-01-01 00:59:52 +00:00
rcirc.texi Update copyright year to 2020 2020-01-01 00:59:52 +00:00
reftex.texi Replace doc references to load-hooks 2020-01-16 21:53:37 -08:00
remember.texi Update copyright year to 2020 2020-01-01 00:59:52 +00:00
sasl.texi Update copyright year to 2020 2020-01-01 00:59:52 +00:00
sc.texi Correct "different than" to "different from" where appropriate 2020-02-09 14:33:14 +00:00
sem-user.texi Replace doc references to load-hooks 2020-01-16 21:53:37 -08:00
semantic.texi Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ses.texi Update copyright year to 2020 2020-01-01 00:59:52 +00:00
sieve.texi Update copyright year to 2020 2020-01-01 00:59:52 +00:00
smtpmail.texi Remove references to obsolete libraries 2020-01-16 15:33:17 +01:00
speedbar.texi Replace doc references to load-hooks 2020-01-16 21:53:37 -08:00
srecode.texi Update copyright year to 2020 2020-01-01 00:59:52 +00:00
texinfo.tex * doc/misc/texinfo.tex: Update from Gnulib. 2020-02-18 17:51:28 -08:00
todo-mode.texi Update copyright year to 2020 2020-01-01 00:59:52 +00:00
tramp.texi Implement "/media::" default host name in Tramp 2020-01-23 14:09:35 +01:00
trampver.texi Sync with Tramp 2.5.0-pre 2020-01-19 14:11:07 +01:00
url.texi Update copyright year to 2020 2020-01-01 00:59:52 +00:00
vhdl-mode.texi Update copyright year to 2020 2020-01-01 00:59:52 +00:00
vip.texi Update copyright year to 2020 2020-01-01 00:59:52 +00:00
viper.texi Replace doc references to load-hooks 2020-01-16 21:53:37 -08:00
widget.texi Update copyright year to 2020 2020-01-01 00:59:52 +00:00
wisent.texi Update copyright year to 2020 2020-01-01 00:59:52 +00:00
woman.texi Update copyright year to 2020 2020-01-01 00:59:52 +00:00