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
Stefan Monnier
b70dd952a7
(uncomment-region-default, comment-region-default):
...
New functions extracted from uncomment-region and comment-region.
(comment-region, comment-region-function, uncomment-region)
(uncomment-region-function): Use them.
2004-09-07 05:18:49 +00:00
Eli Zaretskii
cbdad6e2d1
(uncomment-region): Bind comment-use-global-state to nil.
2004-09-04 12:31:09 +00:00
Juanma Barranquero
aa417798e7
(comment-region-internal): Fix docstring.
2004-06-17 00:02:13 +00:00
Juanma Barranquero
11a26e0569
(comment-search-forward, comment-search-backward): Fix typos.
...
(comment-region): Doc fix.
2004-06-10 20:38:28 +00:00
Stefan Monnier
f5f95edfe3
(comment-use-global-state): New var.
...
(comment-search-forward): Use it.
2004-03-08 01:20:53 +00:00
Stefan Monnier
31df2900a4
(comment-normalize-vars): Check the user-specified comment start marker.
2004-03-04 20:02:52 +00:00
Stefan Monnier
2720770c58
(uncomment-region): Allow non-terminated comment.
2004-03-04 19:20:35 +00:00
Eli Zaretskii
065b7364da
(uncomment-region): Allow eob as comment end.
2004-02-16 14:12:57 +00:00
Eli Zaretskii
a71b3805cd
(comment-insert-comment-function, comment-region-function,
...
uncomment-region-function): New functions.
(comment-indent): Use comment-insert-comment-function.
(uncomment-region): Use uncomment-region-function.
(comment-region): Use comment-region-function.
2004-02-16 12:37:21 +00:00
Stefan Monnier
0d6a08f64d
(comment-normalize-vars): Initialize properly if comment-start was nil.
2003-11-25 21:20:51 +00:00
Stefan Monnier
8cc313a338
(comment-indent): Don't call indent-according-to-mode if the line has code.
...
Don't try to line up with something that's too far left.
2003-10-24 20:26:26 +00:00
Miles Bader
ab5796a9f9
Add arch taglines
2003-09-01 15:45:59 +00:00
Stefan Monnier
79ca2b1157
(uncomment-region): Remove padding coming from
...
comment-start rather than just from comment-padding.
2003-07-04 22:45:26 +00:00
Stefan Monnier
6976bf99f0
(comment-empty-lines): New var.
...
(comment-region-internal): Use it.
2003-05-30 20:06:40 +00:00
Stefan Monnier
bfe6e13f54
(comment-indent): Try to align to adjacent comments.
...
(comment-with-narrowing): Actually use the arguments.
(comment-valid-prefix-p): Rename from comment-valid-prefix
and fix to actually use its argument.
2003-05-10 22:54:35 +00:00
Stefan Monnier
07f10bab2b
(comment-indent): Be more careful when inserting
...
the space, and insert it before setting `begpos'.
2003-05-09 20:09:04 +00:00
Stefan Monnier
0f21c5a0a6
(comment-normalize-vars): Add docstring.
2003-05-06 14:55:56 +00:00
Stefan Monnier
2abd030673
(comment-set-column, comment-kill, comment-or-uncomment-region):
...
Call comment-normalize-vars since these functions are autoloaded.
2003-05-06 14:06:34 +00:00
Richard M. Stallman
be5d837275
(comment-search-forward): Delete autoload cookie.
2003-05-06 10:40:35 +00:00
Richard M. Stallman
78e4fe6980
(comment-search-forward): Add autoload cookie.
2003-05-03 13:50:14 +00:00
Stefan Monnier
f0a478be88
(comment-normalize-vars): Fix regexp.
...
Prompt the user for the comment-start to use rather than signalling an error.
(uncomment-region): Don't leave half-removed comment markers.
2003-04-23 14:55:19 +00:00
Richard M. Stallman
75975685cb
(comment-use-syntax): Add autoload cookie.
2003-04-19 04:20:58 +00:00
Dave Love
e6bba95eca
(comment-indent): Ensure space before added comment.
2003-02-13 15:54:19 +00:00
Juanma Barranquero
f1180544bb
Trailing whitespace deleted.
2003-02-04 12:29:42 +00:00
Markus Rost
513bcaece9
(defgroup comment): Remove autoload cookie.
2002-11-12 00:11:30 +00:00