Commit graph

41 commits

Author SHA1 Message Date
Paul Eggert
7e09ef09a4 Update copyright year to 2015
Run admin/update-copyright.
2015-01-01 14:26:41 -08:00
Stefan Monnier
6711a21f11 * lisp/font-lock.el (font-lock-flush, font-lock-ensure): New functions.
(font-lock-fontify-buffer): Mark interactive-only.
(font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
Make buffer-local.
(font-lock-specified-p): Remove redundant boundp check.
(font-lock-flush-function, font-lock-ensure-function): New vars.
(font-lock-turn-on-thing-lock): Set them.
(font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
(font-lock-after-change-function): Make `old-len' optional.
(font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
Call font-lock-flush, just in case.
* lisp/progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
recent Emacsen.
* lisp/progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
(vera-mode-map, vera-mode-menu): Remove bindings to it.
* lisp/progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
and with-syntax-table.
* lisp/textmodes/conf-mode.el (conf-quote-normal):
* lisp/progmodes/sh-script.el (sh-set-shell):
* lisp/progmodes/prog-mode.el (prettify-symbols-mode):
* lisp/progmodes/f90.el (f90-font-lock-n):
* lisp/progmodes/cwarn.el (cwarn-mode):
* lisp/nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
* lisp/progmodes/compile.el (compilation-setup, compilation--unsetup):
* lisp/hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
(hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
* lisp/mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
font-lock-fontify-buffer-function and
font-lock-unfontify-buffer-function.
(rmail-unfontify-buffer-function, rmail-fontify-message):
Use with-silent-modifications.
* lisp/htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
and font-lock-ensure.
* lisp/bs.el (bs-show-in-buffer): Use font-lock-ensure.
* lisp/gnus/mm-view.el (mm-display-inline-fontify): Use font-lock-ensure.
* lisp/gnus/gnus-cite.el (gnus-message-citation-mode): Use font-lock-flush.
* lisp/org/org-compat.el (org-font-lock-ensure): New function.
* lisp/org/ox-odt.el (org-odt-do-format-code):
* lisp/org/ox-html.el (org-html-fontify-code):
* lisp/org/org.el (org-fontify-like-in-org-mode):
* lisp/org/org-src.el (org-src-font-lock-fontify-block):
* lisp/org/org-clock.el (org-clock-get-clocktable): Use it.
* lisp/org/ox-org.el (org-org-publish-to-org): Use it.  Avoid using find-file
from Elisp.
* test/automated/ruby-mode-tests.el (ruby-assert-face): Use font-lock-ensure.
(ruby-interpolation-keeps-non-quote-syntax): Use syntax-propertize.
2014-05-28 23:45:29 -04:00
Paul Eggert
ba3189039a Update copyright year to 2014 by running admin/update-copyright. 2014-01-01 07:43:34 +00:00
Paul Eggert
c38e0c974e Prefer UTF-8 when the encoding shouldn't matter and changes are small. 2013-03-05 09:13:01 -08:00
Paul Eggert
ab422c4d68 Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
Glenn Morris
acaf905b11 Add 2012 to FSF copyright years for Emacs files 2012-01-05 01:46:05 -08:00
Paul Eggert
e47695319f Spelling fixes. 2011-11-26 20:43:11 -08:00
Paul Eggert
e1dbe924b5 Spelling fixes. 2011-11-19 18:29:42 -08:00
Paul Eggert
f6b1b0a848 Spelling fixes. 2011-11-12 23:48:23 -08:00
Glenn Morris
95df8112a0 Refill some long/short copyright headers. 2011-01-26 00:36:39 -08:00
Glenn Morris
73b0cd5003 Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
Glenn Morris
0d9f702fd0 Nuke arch-tags. 2011-01-15 15:16:57 -08:00
Stefan Monnier
77ab81d054 Merge from emacs-23 2011-01-14 12:18:41 -05:00
Glenn Morris
5df4f04cd3 Add 2011 to FSF/AIST copyright years. 2011-01-02 15:50:46 -08:00
Chong Yidong
5ae0867f43 * lisp/textmodes/conf-mode.el (conf-font-lock-keywords): Minor tweak (Bug#7712).
Use single quote instead of unused backquote.
2010-12-29 19:02:48 +08:00
Glenn Morris
114f9c9679 Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
Glenn Morris
ae940284fa Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
Glenn Morris
1fecc8feb6 Switch to recommended form of GPLv3 permissions notice. 2008-05-06 04:34:22 +00:00
Dan Nicolaescu
b23718189d * emacs-lisp/debug.el (debugger-mode-map):
* textmodes/conf-mode.el (conf-mode-map): Add a menu.
(conf-align-assignments): Only work on the region if it is active.
(conf-quote-normal): Use when instead of if.  Remove redundant test.
2008-04-02 06:35:21 +00:00
Glenn Morris
12dc447f2a Add 2008 to copyright years. 2008-01-07 02:23:04 +00:00
Glenn Morris
6b2eb6eb79 (conf-space-keywords): Mark this regexps as safe if a string. 2007-10-25 03:59:26 +00:00
Glenn Morris
5a9dffec38 Switch license to GPLv3 or later. 2007-07-25 04:24:43 +00:00
Glenn Morris
d7a0267c8d Add 2007 to copyright years. 2007-01-21 03:53:13 +00:00
Richard M. Stallman
e5e0a7db26 (conf-space-mode): Doc fix.
Delete duplicate make-local-variable form.
(conf-space-keywords): Add autoload cookie.
Fix typo (`keywords', not `keyword').
2006-09-18 17:19:16 +00:00
Richard M. Stallman
8969e90653 (conf-mode-map): Use conf-space-keywords cmd.
(conf-space-mode): Don't handle prefix arg.
Delete conf-space-keywords-override code.
Use add-hook.
(conf-space-keywords): New command.
(conf-space-mode-internal): Be careful with imenu-generic-expression.
Delete conf-space-keywords-override code.
(conf-space-keywords-alist): Doc fix.
(conf-space-font-lock-keywords): Doc fix.
(conf-space-keywords-override): Var deleted.
2006-09-16 18:43:57 +00:00
Richard M. Stallman
dd3a63bf1a (conf-space-mode-internal): New subroutine. Reinit Font Lock mode.
(conf-space-mode): Always make conf-space-keywords and
conf-space-keywords-override local.
Call conf-space-mode-internal directly as well as via hook.
2006-09-10 00:30:52 +00:00
Richard M. Stallman
d36326319a (conf-space-mode): Use hack-local-variables-hook instead of calling
hack-local-variables.
(conf-space-keywords-override): New variable.
2006-09-09 23:20:39 +00:00
Thien-Thi Nguyen
ceb4c4d303 Update years in copyright notice; nfc. 2006-02-06 12:31:40 +00:00
Stefan Monnier
0b6f31bf48 (conf-mode-initialize): New function.
(conf-mode): Remove optional args.  Use delay-mode-hooks to
recognize recursive calls.
(conf-unix-mode, conf-windows-mode, conf-javaprop-mode, conf-space-mode)
(conf-colon-mode, conf-ppd-mode, conf-xdefaults-mode):
Use define-derived-mode and conf-mode-initialize.
2005-10-29 16:01:37 +00:00
Stefan Monnier
d902d95e82 Don't use font-lock-defaults-alist.
Various docstring and line-width fixups.
(conf-mode): Use cond.
Set font-lock-defaults.  Don't set comment-use-syntax.
2005-10-18 15:30:53 +00:00
Juanma Barranquero
0ba9849024 (outline-heading-end-regexp): Add defvar.
(conf-align-assignments): "?\ " -> "?\s".
2005-08-31 10:25:00 +00:00
Richard M. Stallman
42c98299c4 Fix copyright notice, list author. 2005-08-15 01:48:45 +00:00
Thien-Thi Nguyen
3731a85096 Update years in copyright notice; nfc. 2005-08-06 17:48:15 +00:00
Lute Kamstra
4fc5845fe8 Update FSF's address. 2005-07-04 16:49:24 +00:00
Kim F. Storm
bf247b6ed0 Change release version from 21.4 to 22.1 throughout.
Change development version from 21.3.50 to 22.0.50.
2005-02-09 15:50:47 +00:00
Daniel Pfeiffer
30a2ee1b33 Fix copy'n'paste mess up. 2004-12-01 00:02:01 +00:00
Daniel Pfeiffer
6c1192bf5c *** empty log message *** 2004-11-30 23:27:48 +00:00
Daniel Pfeiffer
f5d4cf945a (conf-ppd-mode-syntax-table): New var.
(conf-ppd-mode): New conf-mode wrapper for printer descriptions.
(conf-quote-normal): Allow normalizing only ' or ".
(conf-mode): Regexp-quote constructed comment-start and don't match section {} where "name" contains braces.
2004-11-30 23:26:47 +00:00
Daniel Pfeiffer
507ecaf998 Emacs 21.4, not 20.4 2004-11-10 20:17:34 +00:00
Miles Bader
ce09e17323 Changes from arch/CVS synchronization 2004-11-10 05:20:51 +00:00
Daniel Pfeiffer
dd0f1553b7 *** empty log message *** 2004-11-10 00:43:48 +00:00