branch: elpa/evil-nerd-commenter
commit 5f09387d60da7ca634d004edc709a08638aa4e5a
Author: Chen Bin <[email protected]>
Commit: Chen Bin <[email protected]>
doc updated v1.2.9
---
README.org | 6 ++++--
evil-nerd-commenter-pkg.el | 2 +-
evil-nerd-commenter.el | 4 ++--
pkg.sh | 2 +-
4 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/README.org b/README.org
index a1f132582c..f555a5378a 100644
--- a/README.org
+++ b/README.org
@@ -1,4 +1,4 @@
-* evil-nerd-commenter (version 1.2.8)
+* evil-nerd-commenter (version 1.2.9)
*Please note this program could be used independently without evil-mode!*
@@ -198,7 +198,9 @@ Example 4: ",,a(" to comment out the current s-expression,
or ",,i(" to only com
Example 5: ",,ao" to comment out the current symbol, or ",,aW" to comment out
the current WORD. Could be useful when commenting out function parameters, for
instance.
-Example 6: ",,w" comments to the beginning of the next word, ",,e" to the end
of the next word, ",,b" to the beginning of the previous word.
+Example 6: ",,w" comment to the beginning of the next word, ",,e" to the end
of the next word, ",,b" to the beginning of the previous word.
+
+Example 7: ",,it", comment the region inside html tags (all html major modes
are supported except web-mode)
* Tips
** Tip 1, Yank in evil-mode
diff --git a/evil-nerd-commenter-pkg.el b/evil-nerd-commenter-pkg.el
index bc98e0a275..f136b37bd6 100644
--- a/evil-nerd-commenter-pkg.el
+++ b/evil-nerd-commenter-pkg.el
@@ -1,2 +1,2 @@
-(define-package "evil-nerd-commenter" "1.2.8"
+(define-package "evil-nerd-commenter" "1.2.9"
"Comment/uncomment lines efficiently. Like Nerd Commenter in
Vim")
diff --git a/evil-nerd-commenter.el b/evil-nerd-commenter.el
index bc3731a52d..213a31ed4c 100644
--- a/evil-nerd-commenter.el
+++ b/evil-nerd-commenter.el
@@ -4,7 +4,7 @@
;; Author: Chen Bin <[email protected]>
;; URL: http://github.com/redguardtoo/evil-nerd-commenter
-;; Version: 1.2.8
+;; Version: 1.2.9
;; Keywords: commenter vim line evil
;;
;; This file is not part of GNU Emacs.
@@ -417,7 +417,7 @@ Save in REGISTER or in the kill-ring with YANK-HANDLER."
(= (char-before beg) ?\n))
(comment-or-uncomment-region (1- beg) end))
((eq type 'line)
- (comment-or-uncomment-region beg end))
+ (comment-or-uncomment-region beg end))
(t
(let ((newpos (evilnc--extend-to-whole-comment beg end) ))
(comment-or-uncomment-region (nth 0 newpos) (nth 1 newpos))
diff --git a/pkg.sh b/pkg.sh
index 043a054c0f..09b373ab33 100755
--- a/pkg.sh
+++ b/pkg.sh
@@ -1,5 +1,5 @@
#!/bin/bash
-pkg=evil-nerd-commenter-1.2.8
+pkg=evil-nerd-commenter-1.2.9
mkdir $pkg
cp README.org $pkg
cp *.el $pkg