Paul Eggert
0877d0dc24
Merge from emacs-24; up to 2012-12-06T01:39:03Z!monnier@iro.umontreal.ca
2013-01-02 08:13:04 -08:00
Paul Eggert
ab422c4d68
Update copyright notices for 2013.
2013-01-01 09:11:05 +00:00
Chong Yidong
ba03d0d932
Modularize add-log-current-defun.
...
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
2012-12-01 12:57:07 +08:00
Stefan Monnier
fe0a74f91a
* lisp/vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
...
and give a non-nil default value.
(add-change-log-entry): Simplify accordingly.
2012-10-01 20:37:39 -04:00
Glenn Morris
2a1e24765b
Replace version 24.2 with 24.3 where appropriate (hopefully)
2012-08-15 09:29:11 -07:00
Chong Yidong
73e2bbc5a3
* lisp/vc/add-log.el (change-log-mode): Bind comment-start to nil.
...
This fixes M-q for Change Log entries which contain "(Bug#123)".
2012-08-09 16:16:13 +08:00
Paul Eggert
09ae5da1b8
Prefer typical American spelling for "acknowledgment".
2012-07-24 22:48:19 -07:00
Chong Yidong
fb7ada5f94
Remove * characters from the front of variable docstrings.
2012-04-09 21:05:48 +08:00
Glenn Morris
acaf905b11
Add 2012 to FSF copyright years for Emacs files
2012-01-05 01:46:05 -08:00
Chong Yidong
37e11a6319
Lisp code shouldn't use set-time-zone-rule except through setenv.
...
* time.el (display-time-world-list, display-time-world-display):
* time-stamp.el (time-stamp-string):
* vc/add-log.el (add-change-log-entry): Use setenv instead of
set-time-zone-rule.
* src/editfns.c (Fset_time_zone_rule): Document relationship with the
setenv function.
Fixes: debbugs:7337
2011-08-08 11:53:35 -04:00
Stefan Monnier
4f91a8160f
Don't quote lambda expressions with `quote'.
2011-05-23 14:57:17 -03:00
Glenn Morris
375cb676c1
add-log font-lock fix for mutilple authors (bug#8644)
...
* lisp/vc/add-log.el (change-log-font-lock-keywords): Also handle multiple
author lines with leading tabs.
2011-05-14 16:58:25 -07:00
Glenn Morris
7210a7391f
add-log.el fix for multiple author entries (bug#8645)
...
* lisp/vc/add-log.el (add-change-log-entry): Don't start adding a new entry
in the middle of an existing one with multiple authors.
2011-05-14 16:27:09 -07:00
Sam Steingold
7eed1860d8
* lisp/vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to" to acknowledgments.
2011-04-18 16:35:18 -04:00
Jason Merrill
f3e4086c9d
* lisp/vc/add-log.el (add-change-log-entry): Don't use whitespace
...
syntax class to search for whitespace on a single line
(Message-ID: <4D938140.4030905@redhat.com>).
2011-03-30 17:56:04 -04: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
Chong Yidong
2699a55464
Merge changes from emacs-23 branch
2010-10-31 10:40:01 -04:00
Glenn Morris
7b344dfef7
Cosmetic changes for add-log.el.
...
* lisp/vc/add-log.el: Don't require timezone when compiling.
(timezone-make-date-sortable): Autoload it.
(change-log-sortable-date-at): Don't require timezone.
Use `ignore-errors'.
2010-09-23 00:17:08 -07:00
Stefan Monnier
537ffaf3c9
* lisp/vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
2010-08-21 16:09:46 +02:00
Juri Linkov
9766adfbca
* lisp/finder.el (finder-known-keywords): Add keyword "vc"
...
for version control.
* add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
* emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
* vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
* vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
2010-06-11 22:09:57 +03:00
Juri Linkov
56b2854f30
Move version control related files to the "vc" subdirectory.
...
* add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
* ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
* ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
* ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
* pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
* smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
* vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
* vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
Move files to the "vc" subdirectory.
2010-06-11 21:51:00 +03:00