mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 12:21:25 -08:00
* newcomment.el (comment-dwim): Fix the intentation in the doc string.
This commit is contained in:
parent
8b78d5e38f
commit
23737b4aee
2 changed files with 7 additions and 2 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
|
||||
|
||||
* newcomment.el (comment-dwim): Fix the intentation in the doc
|
||||
string.
|
||||
|
||||
010-10-21 Michael Albinus <michael.albinus@gmx.de>
|
||||
|
||||
* net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
|
||||
|
|
|
|||
|
|
@ -1164,8 +1164,8 @@ is passed on to the respective function."
|
|||
(defun comment-dwim (arg)
|
||||
"Call the comment command you want (Do What I Mean).
|
||||
If the region is active and `transient-mark-mode' is on, call
|
||||
`comment-region' (unless it only consists of comments, in which
|
||||
case it calls `uncomment-region').
|
||||
`comment-region' (unless it only consists of comments, in which
|
||||
case it calls `uncomment-region').
|
||||
Else, if the current line is empty, call `comment-insert-comment-function'
|
||||
if it is defined, otherwise insert a comment and indent it.
|
||||
Else if a prefix ARG is specified, call `comment-kill'.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue