[PATCH 1/3] emacs/*.el: changed one-char comment prefix ';' to two: ';;'

Austin Clements amdragon at MIT.EDU
Mon Jan 16 20:19:45 PST 2012


Quoth Tomi Ollila on Jan 16 at 11:04 am:
> In order for emacs (indent-region) to (re)indent emacs lisp
> properly there needs to be at least 2 comment characters (;;).
> ---
> 
> $ perl -ne 's/;;.*//; print $_ if /(^|[^;]);([^;]|$)/' *.el | less
> 
> shows that there is (only) need to change comments in the beginning
> of line...
> 
> $ perl -pi -e 's/^(\s*);([^;]|$)/$1;;$2/' *.el
> 
> did that change.

1/3 definitely LGTM.


More information about the notmuch mailing list