]> code.delx.au - gnu-emacs/commit
* lisp/newcomment.el (comment-dwim): Use `use-region-p'
authorZachary Kanfer <zkanfer@gmail.com>
Tue, 1 Sep 2015 02:11:50 +0000 (03:11 +0100)
committerArtur Malabarba <bruce.connor.am@gmail.com>
Tue, 1 Sep 2015 02:13:05 +0000 (03:13 +0100)
commit4a703c73305211c780307e3654969ac1a20fb229
tree059eca0d4385cf0ad752b2cdaff2a99774bcb52a
parent9004011ec0876d74209814417f939a348e107d61
* lisp/newcomment.el (comment-dwim): Use `use-region-p'

When the region is active, but is empty (length 0), act as though
the region was not active; that is, put a comment at the end of
the line.  (Bug#21119)
lisp/newcomment.el