# HG changeset patch # User Lars Magne Ingebrigtsen # Date 1287691958 -7200 # Node ID 26c658c72bf647b676eececb5293b095c57cbc01 # Parent b5615f1dafcc6e7a09b5492b64f3a10d78c97082 * newcomment.el (comment-dwim): Fix the intentation in the doc string. diff -r b5615f1dafcc -r 26c658c72bf6 lisp/ChangeLog --- a/lisp/ChangeLog Thu Oct 21 13:27:32 2010 -0400 +++ b/lisp/ChangeLog Thu Oct 21 22:12:38 2010 +0200 @@ -1,3 +1,8 @@ +2010-10-21 Lars Magne Ingebrigtsen + + * newcomment.el (comment-dwim): Fix the intentation in the doc + string. + 010-10-21 Michael Albinus * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use diff -r b5615f1dafcc -r 26c658c72bf6 lisp/newcomment.el --- a/lisp/newcomment.el Thu Oct 21 13:27:32 2010 -0400 +++ b/lisp/newcomment.el Thu Oct 21 22:12:38 2010 +0200 @@ -1164,8 +1164,8 @@ (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'.