- 10 Sep, 2013 1 commit
-
-
Glenn Morris authored
Autoload of define-derived-mode works just fine.
-
- 28 Aug, 2013 2 commits
-
-
Glenn Morris authored
-
Stefan Monnier authored
(c-define-abbrev-table): Add `doc' argument. (c-mode-abbrev-table, c++-mode-abbrev-table) (objc-mode-abbrev-table, java-mode-abbrev-table) (idl-mode-abbrev-table, pike-mode-abbrev-table) (awk-mode-abbrev-table): Use it. (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table) (c++-mode-map, objc-mode-syntax-table, objc-mode-map) (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table) (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map): Move initialization into the declaration; and remove any autoload cookie.
-
- 01 Jun, 2013 1 commit
-
-
Glenn Morris authored
* progmodes/cc-cmds.el (delete-forward-p): * progmodes/cc-defs.el (buffer-syntactic-context-depth): * progmodes/cc-engine.el (buffer-syntactic-context): * progmodes/cc-fonts.el (face-property-instance): * progmodes/cc-mode.el (set-keymap-parents): * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun. * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1) * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
-
- 30 May, 2013 1 commit
-
-
Glenn Morris authored
(which in turn loads cc-vars), to quieten compiler.
-
- 28 May, 2013 1 commit
-
-
Alan Mackenzie authored
* progmodes/cc-mode.el (c-after-change): bind case-fold-search to nil.
-
- 27 May, 2013 1 commit
-
-
Alan Mackenzie authored
* progmodes/cc-mode.el (c-after-change): Also clear hard syntax-table property with value nil.
-
- 02 May, 2013 1 commit
-
-
Alan Mackenzie authored
* progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function): Remove. (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
-
- 15 Apr, 2013 1 commit
-
-
Alan Mackenzie authored
* progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and place a submatch around the #. * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP): Start a search at BOL. Put the c-cpp-delimiter category text propertiy on the #, not BOL.
-
- 01 Jan, 2013 1 commit
-
-
Paul Eggert authored
-
- 01 Dec, 2012 1 commit
-
-
Chong Yidong authored
Suggested by Jari Aalto. * lisp/emacs-lisp/lisp-mode.el (lisp-current-defun-name): New. (lisp-mode-variables): Use it. * lisp/progmodes/cc-mode.el (c-common-init): * lisp/progmodes/cperl-mode.el (cperl-mode): Set a value for add-log-current-defun-function. * lisp/progmodes/m4-mode.el (m4-current-defun-name): New function. (m4-mode): Use it. * lisp/progmodes/perl-mode.el (perl-current-defun-name): New. (perl-mode): Use it. * lisp/progmodes/scheme.el (scheme-mode-variables, dsssl-mode): Use lisp-current-defun-name. * lisp/textmodes/tex-mode.el (tex-current-defun-name): New. (tex-common-initialization): Use it. * lisp/textmodes/texinfo.el (texinfo-current-defun-name): New. (texinfo-mode): Use it. * lisp/vc/add-log.el (add-log-current-defun-function): Doc fix. (add-log-current-defun): Move mode-specific code to other files. (add-log-lisp-like-modes, add-log-c-like-modes) (add-log-tex-like-modes): Variables deleted. Fixes: debbugs:2224
-
- 21 Nov, 2012 1 commit
-
-
Alan Mackenzie authored
-
- 23 Oct, 2012 1 commit
-
-
Stefan Monnier authored
* doc/emacs/custom.texi (Hooks): * doc/lispref/hooks.texi (Standard Hooks): Clarify that -hooks is deprecated. * lisp/gnus/nndiary.el (nndiary-request-create-group-functions) (nndiary-request-update-info-functions) (nndiary-request-accept-article-functions): * lisp/gnus/gnus-start.el (gnus-subscribe-newsgroup-functions): * lisp/cedet/semantic/db-file.el (semanticdb-save-database-functions): * lisp/cedet/semantic/lex.el (semantic-lex-reset-functions): * lisp/cedet/semantic/edit.el (semantic-change-functions) (semantic-edits-new-change-functions) (semantic-edits-delete-change-functions) (semantic-edits-reparse-change-functions): * lisp/htmlfontify.el (hfy-post-html-hook): * lisp/filesets.el (filesets-cache-fill-content-hook): * lisp/arc-mode.el (archive-extract-hook): * lisp/progmodes/cc-mode.el (c-prepare-bug-report-hook): * lisp/net/rcirc.el (rcirc-sentinel-functions) (rcirc-receive-message-functions, rcirc-activity-functions) (rcirc-print-functions): * lisp/net/dbus.el (dbus-event-error-functions): * lisp/emacs-lisp/eieio.el (eieio-pre-method-execution-functions): * lisp/emacs-lisp/checkdoc.el (checkdoc-style-functions) (checkdoc-comment-style-functions): Don't use "-hooks" suffix. * lisp/term/sun.el (sun-raw-prefix-hooks): * lisp/mail/sendmail.el (mail-yank-hooks): * lisp/mh-e/mh-letter.el (mh-yank-hooks): Use make-obsolete-variable.
-
- 26 May, 2012 1 commit
-
-
Glenn Morris authored
-
- 16 Apr, 2012 1 commit
-
-
Alan Mackenzie authored
-
- 16 Mar, 2012 1 commit
-
-
Alan Mackenzie authored
-
- 22 Feb, 2012 1 commit
-
-
Alan Mackenzie authored
-
- 13 Feb, 2012 1 commit
-
-
Alan Mackenzie authored
-
- 06 Feb, 2012 1 commit
-
-
Lars Ingebrigtsen authored
* progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function): Set the default at load time, too, so that `font-lock-fontify-buffer' can be called without setting up the entire mode first. This fixes a bug in `mm-inline-text' with C MIME parts.
-
- 13 Jan, 2012 1 commit
-
-
Alan Mackenzie authored
-
- 11 Jan, 2012 1 commit
-
-
Glenn Morris authored
-
- 08 Jan, 2012 1 commit
-
-
Alan Mackenzie authored
-
- 05 Jan, 2012 1 commit
-
-
Glenn Morris authored
-
- 30 Dec, 2011 1 commit
-
-
Paul Eggert authored
-
- 24 Dec, 2011 1 commit
-
-
Alan Mackenzie authored
Use this to protect declarations from losing their contexts.
-
- 23 Dec, 2011 1 commit
-
-
Alan Mackenzie authored
-
- 13 Dec, 2011 1 commit
-
-
Alan Mackenzie authored
Tidy up and accelerate c-in-literal, etc. by using the c-parse-state routines. Limit backward searching in c-font-lock-enclosing.decl. cc-engine.el (c-state-pp-to-literal): Return the pp-state and literal type in addition to the limits. (c-state-safe-place): New defun, extracted from c-state-literal-at. (c-state-literal-at): Use the above new defun. (c-slow-in-literal, c-fast-in-literal): Removed. (c-in-literal, c-literal-limits): Amended to use c-state-pp-to-literal. cc-fonts.el (c-font-lock-enclosing-decls): Check for being in a literal. Add a limit for backward searching. cc-mode.el (awk-mode): Don't alias c-in-literal to c-slow-in-literal.
-
- 12 Dec, 2011 1 commit
-
-
Paul Eggert authored
-
- 20 Nov, 2011 1 commit
-
-
Paul Eggert authored
-
- 19 Nov, 2011 1 commit
-
-
Paul Eggert authored
-
- 15 Nov, 2011 1 commit
-
-
Juanma Barranquero authored
-
- 27 Oct, 2011 1 commit
-
-
Alan Mackenzie authored
correctly, using the "virtual semicolon" mechanism. cc-defs.el: Update "virtual semicolon" comments. cc-engine.el (c-crosses-statement-barrier-p): Recoded to scan one line at at time rather than having \n and \r explicitly in c-stmt-delim-chars (for some modes, e.g. AWK). (c-forward-label): Amend for virtual semicolons. (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions cc-fonts.el (c-font-lock-declarations): Take account of the new C macros. cc-langs.el (c-at-vsemi-p-fn, c-vsemi-status-unknown-p-fn): move to earlier in the file. (c-opt-cpp-symbol, c-line-comment-start-regexp): New language variables. (c-opt-cpp-macro-define): Make into a full language variable. (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for AWK Mode (including \n, \r) removed, no longer needed. cc-mode.el (c-mode, c++-mode, objc-mode): Invoke c-make-macro-with-semi-re. cc-vars.el (c-macro-with-semi-re, c-macro-names-with-semicolon): New variables. (c-make-macro-with-semi-re): New function cc-mode.texi (Indentation Commands): Mention "macros with semicolons". (Other Special Indentations): Add an xref to "Macros with ;". (Customizing Macros): Add stuff about syntax in macros. Add an xref to "Macros with ;". (Macros with ;): New page.
-
- 09 Sep, 2011 1 commit
-
-
Alan Mackenzie authored
spuriously generating `awk-mode-syntax-table'. (Bug #9448).
-
- 22 Jul, 2011 1 commit
-
-
Alan Mackenzie authored
cc-mode.el: Remove two autoload forms which loaded cc-langs. cc-langs.el (c-make-init-lang-vars-fun): Don't emit "(require 'cc-langs)". Quote a form so it will evaluate at (cc-mode's) compilation time.
-
- 30 Jun, 2011 1 commit
-
-
Alan Mackenzie authored
progmodes/cc-langs.el (c-mode-menu): Added "Style..." submenu. progmodes/cc-styles.el (cc-choose-style-for-mode): New function derived from `c-basic-common-init'. progmodes/cc-mode.el (top-level): Require cc-guess. (c-basic-common-init): Use `cc-choose-style-for-mode'.
-
- 28 May, 2011 1 commit
-
-
Chong Yidong authored
* lisp/progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode) (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
-
- 25 Jan, 2011 1 commit
-
-
Glenn Morris authored
-
- 16 Jan, 2011 1 commit
-
-
Glenn Morris authored
-
- 15 Jan, 2011 1 commit
-
-
Glenn Morris authored
-
- 02 Jan, 2011 1 commit
-
-
Glenn Morris authored
-