branch: elpa/evil-nerd-commenter
commit 2b68b829fe85e1c254b6e5bef04a2d7180d59ccc
Author: Chen Bin <[email protected]>
Commit: Chen Bin <[email protected]>
fixed regression since 0.0.6: cannot comment region
---
README.org | 4 ++--
evil-nerd-commenter-pkg.el | 2 +-
evil-nerd-commenter.el | 4 ++--
pkg.sh | 2 +-
4 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/README.org b/README.org
index 7ebe719921..399e4d2ec5 100644
--- a/README.org
+++ b/README.org
@@ -1,9 +1,9 @@
-* evil-nerd-commenter (current version 0.0.7)
+* evil-nerd-commenter (current version 0.0.8)
As a developer, I often need comment/uncomment lines for debugging or adding
some short comment in the code block.
As I know, the [[http://www.vim.org/scripts/script.php?script_id=1218][Nerd
Commenter]] for Vim is the most efficient way to doing this thing.
Unfortunately, there is no similar plugin in Emacs.
-That's why I develop this Nerd Commenter simulator for Emacs people. Besides,
I'm also adding my own utilities into this plugin. For example, I added a
command to comment *AND* copy lines in version 0.0.7.
+That's why I develop this Nerd Commenter simulator for Emacs people. Besides,
I'm also adding my own utilities into this plugin. For example, I added a
command to comment *AND* copy lines in version 0.0.8.
Though this program could be used *independently*, I highly recommend you use
it with [[http://gitorious.org/evil][evil]] and
[[https://github.com/cofi/evil-leader][evil-leader]].
diff --git a/evil-nerd-commenter-pkg.el b/evil-nerd-commenter-pkg.el
index 7f1ce98452..6666f3c9ab 100644
--- a/evil-nerd-commenter-pkg.el
+++ b/evil-nerd-commenter-pkg.el
@@ -1,2 +1,2 @@
-(define-package "evil-nerd-commenter" "0.0.7"
+(define-package "evil-nerd-commenter" "0.0.8"
"Comment/uncomment lines efficiently. Like Nerd Commenter in
Vim")
diff --git a/evil-nerd-commenter.el b/evil-nerd-commenter.el
index f040d488ae..ea7c84203d 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: 0.0.7
+;; Version: 0.0.8
;; Keywords: commenter vim line evil
;;
;; This file is not part of GNU Emacs.
@@ -103,8 +103,8 @@
(setq b (line-beginning-position))
(goto-char e)
(setq e (line-end-position))
+ (funcall fn b e)
))
- (funcall fn b e)
)
)
)
diff --git a/pkg.sh b/pkg.sh
index 336e11e36e..d281d173c5 100755
--- a/pkg.sh
+++ b/pkg.sh
@@ -1,5 +1,5 @@
#!/bin/bash
-pkg=evil-nerd-commenter-0.0.7
+pkg=evil-nerd-commenter-0.0.8
mkdir $pkg
cp README.org $pkg
cp *.el $pkg