Lars Magne Ingebrigtsen
23737b4aee
* newcomment.el (comment-dwim): Fix the intentation in the doc string.
2010-10-21 22:12:38 +02:00
Chong Yidong
266a86bd7f
Merge changes from emacs-23 branch
2010-09-23 15:00:31 -04:00
Stefan Monnier
c9805d2356
* lisp/newcomment.el (comment-normalize-vars): Better test validity of
...
comment-end-skip.
2010-09-21 15:09:22 +02:00
Chong Yidong
bd78fa1d54
Add "Package:" file headers to denote built-in packages.
2010-08-29 12:17:13 -04:00
Stefan Monnier
f0b7054e23
* lisp/newcomment.el (comment-add): Move comment to docstring.
2010-08-17 21:38:30 +02:00
Glenn Morris
114f9c9679
Add 2010 to copyright years.
2010-01-13 00:35:10 -08:00
Dan Nicolaescu
aaa448c984
* widget.el (define-widget): Purecopy the docstring.
...
* international/mule-cmds.el (charset): Do not purecopy the
docstring here, define-widget does it.
* textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
* textmodes/bibtex-style.el (auto-mode-alist):
* progmodes/inf-lisp.el (inferior-lisp-prompt):
* progmodes/compile.el (compile-command):
* language/korea-util.el (default-korean-keyboard):
* international/mule-conf.el (file-coding-system-alist):
* emacs-lisp/eldoc.el (eldoc-minor-mode-string):
* tooltip.el (tooltip-frame-parameters):
* newcomment.el (comment-end, comment-padding):
* dired.el (dired-trivial-filenames):
* comint.el (comint-file-name-prefix): Purecopy initial values.
2009-11-11 19:24:20 +00:00
Juanma Barranquero
32226619c5
Use called-interactively-p' instead of
interactive-p'.
2009-10-02 03:48:36 +00:00
Chong Yidong
707f4689ea
* newcomment.el (comment-region): Doc fix (Bug#3370).
2009-05-26 03:16:31 +00:00
Glenn Morris
ae940284fa
Add 2009 to copyright years.
2009-01-05 03:18:22 +00:00
Dan Nicolaescu
3976387b54
(comment-style): Default to `indent'. (Bug#1589)
2008-12-18 09:24:20 +00:00
Glenn Morris
eb3fa2cfcf
Switch to recommended form of GPLv3 permissions notice.
2008-05-06 08:06:51 +00:00
Stefan Monnier
33d71ec3b1
(comment-enter-backward): Be careful to restore point changed during narrowing.
2008-04-03 22:26:39 +00:00
Miles Bader
56388398e7
Merge from emacs--rel--22
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1095
2008-03-10 00:49:47 +00:00
Stefan Monnier
bbcedd0514
(comment-kill): Docstring improvement.
2008-03-03 21:20:21 +00:00
Miles Bader
59ce725a3b
Merge from emacs--rel--22
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
2008-01-08 20:46:54 +00:00
Glenn Morris
409cc4a3ea
Add 2008 to copyright years.
2008-01-07 02:45:14 +00:00
Richard M. Stallman
9f15f6766b
(comment-region-default): Don't triple the
...
comment starter if the first region line isn't indented enough.
2007-12-22 18:39:16 +00:00
Glenn Morris
53dd1d5387
Martin Rudalics <rudalics at gmx.at>
...
(comment-region-internal): Fix newline insertion in `block' case.
2007-11-28 05:20:33 +00:00
Glenn Morris
eb0c4c3084
(comment-dwim): Call comment-insert-comment-function, if defined, for
...
blank lines. Doc fix.
2007-11-03 03:00:32 +00:00
Glenn Morris
b9b4d12c5f
(comment-indent): Let comment-insert-comment-function,
...
if defined, do all the work of inserting a new comment.
2007-11-02 08:10:40 +00:00
Richard M. Stallman
c391a81ff3
(comment-styles): New style indent-or-triple.
...
(comment-style): Make that the default.
(comment-add defvar): Doc fix.
(comment-add): Delete arg EXTRA.
(comment-region-default): Open code call to comment-add.
Handle indent-or-triple style which uses `multi-char' for INDENT.
2007-10-26 09:52:12 +00:00
Stefan Monnier
b294361625
(comment-choose-indent): New function extracted
...
from comment-indent. Improve the alignment algorithm.
(comment-indent): Use it.
2007-09-28 01:59:40 +00:00
Richard M. Stallman
7f821b7938
(comment-add): If EXTRA, double `comment-add' value.
2007-09-20 16:32:26 +00:00
Richard M. Stallman
5266b06b4f
(comment-add): New arg EXTRA.
...
(comment-region-default): Pass EXTRA if not indenting lines.
2007-09-17 16:40:58 +00:00
Miles Bader
9aecacd08a
Merge from emacs--rel--22
...
Patches applied:
* emacs--rel--22 (patch 70-73)
- Update from CVS
2007-07-25 Glenn Morris <rgm@gnu.org>
* Relicense all FSF files to GPLv3 or later.
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-828
2007-07-26 05:28:10 +00:00
Glenn Morris
b4aa60262c
Switch license to GPLv3 or later.
2007-07-25 04:50:21 +00:00
Stefan Monnier
2ed8e1f79e
(comment-search-forward): Make sure we search forward.
...
(comment-enter-backward): Try and distinguish the non-matching case at
EOB from the non-matching case with a missing comment-end-skip for
a 2-char comment ender.
(comment-choose-indent): New function extracted from comment-indent.
Improve the alignment algorithm.
(comment-indent): Use it.
2007-05-08 15:59:45 +00:00
Stefan Monnier
5605893d03
(comment-search-forward): Discard comment starters before point.
2007-04-01 19:33:44 +00:00
Glenn Morris
d7a0267c8d
Add 2007 to copyright years.
2007-01-21 03:53:13 +00:00
Glenn Morris
c90f275771
Update copyright years.
2006-12-05 07:06:08 +00:00
Juanma Barranquero
7c0bbe7fa1
(comment-indent): "?\ " -> "?\s".
2006-11-27 14:01:47 +00:00
Stefan Monnier
e29d96b65f
(comment-valid-prefix-p): Make the check more thorough.
...
From an idea by Martin Rudalics <rudalics@gmx.at>.
(comment-indent-new-line): Adjust call.
2006-10-10 00:33:16 +00:00
Juanma Barranquero
016c63b645
(comment-box): Call `comment-normalize-vars'. Add autoload cookie.
2006-08-20 12:48:19 +00:00
Richard M. Stallman
b605a60ad3
(comment-indent): Fully update INDENT
...
before checking to see if it will change the text.
2006-08-16 05:05:56 +00:00
Reiner Steib
631c8020a5
Move `safe-local-variable' declarations to the respective files.
2006-05-11 15:01:41 +00:00
Dan Nicolaescu
be2c62b3c2
(comment-start, comment-start-skip)
...
(comment-end-skip, comment-end): Mark as safe.
2006-04-20 21:24:19 +00:00
Stefan Monnier
b433a5608e
(comment-add): New function.
...
(comment-region-default, comment-dwim): Use it.
2006-04-17 03:51:30 +00:00
Stefan Monnier
ae2c9c21a3
Docstring fixes.
2006-02-03 15:57:56 +00:00
Stefan Monnier
1cb4008915
(comment-enter-backward): Fix last fix.
2005-11-20 23:25:46 +00:00
Stefan Monnier
3cc4b07630
*** empty log message ***
2005-11-20 18:09:09 +00:00
Stefan Monnier
45f6a663d7
(comment-region-internal): Box more tightly in the
...
common case where there's no TAB in the boxed text.
2005-11-04 22:20:12 +00:00
Richard M. Stallman
e8bf834340
Address change.
2005-08-09 20:38:35 +00:00
Thien-Thi Nguyen
0d30b33766
Update years in copyright notice; nfc.
2005-08-06 22:13:43 +00:00
Lute Kamstra
086add1519
Update FSF's address.
2005-07-04 23:32:44 +00:00
Stefan Monnier
8c39e595e8
(comment-indent-default): Don't get fooled by an early end of buffer.
2005-06-29 06:46:37 +00:00
Juanma Barranquero
f530778210
Specify missing group (and type, if simple) in defcustom.
2005-05-19 19:06:19 +00:00
Richard M. Stallman
1fc075d8b7
(comment-auto-fill-only-comments): Add autoload.
2004-10-16 15:32:14 +00:00
Daniel Pfeiffer
2308f44707
comment-beginning: doc-fix and don't choke on unset comment-end-skip when at beginning of comment
2004-10-03 15:36:18 +00:00
Luc Teirlinck
269a8f1c8e
(comment-multi-line): Doc fix.
2004-09-29 22:17:15 +00:00