emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/evil-nerd-commenter f3f0922b0b 020/235: fixed broken 0.0.6


From: ELPA Syncer
Subject: [nongnu] elpa/evil-nerd-commenter f3f0922b0b 020/235: fixed broken 0.0.6, upgraded to 0.0.7
Date: Thu, 6 Jan 2022 02:59:31 -0500 (EST)

branch: elpa/evil-nerd-commenter
commit f3f0922b0b730adcbb8aa5b3659a9fec3ae913c7
Author: Chen Bin <chenbin.sh@gmail.com>
Commit: Chen Bin <chenbin.sh@gmail.com>

    fixed broken 0.0.6, upgraded to 0.0.7
    
    I forgot to commit code at version 0.0.6. So here is the fix.
---
 README.org                 | 6 +++---
 evil-nerd-commenter-pkg.el | 2 +-
 evil-nerd-commenter.el     | 9 +++++----
 pkg.sh                     | 2 +-
 4 files changed, 10 insertions(+), 9 deletions(-)

diff --git a/README.org b/README.org
index 4c9b5e6389..af26ad1c82 100644
--- a/README.org
+++ b/README.org
@@ -1,9 +1,9 @@
-* evil-nerd-commenter (current version 0.0.6)
+* evil-nerd-commenter (current version 0.0.7)
 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.6.
+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.
 
 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]].
 
@@ -68,4 +68,4 @@ Example 4:
 Example 5:
 "C-u 2 M-x evilnc-copy-and-comment-lines", copy 2 lines and paste them below 
the original line. Then comment out original lines. The focus will be moved to 
the new lines.
 * Contact me
-You can report bugs at [[https://github.com/redguardtoo/evil-nerd-commenter]]. 
My email is <chenbin.sh@gmail.com>.
\ No newline at end of file
+You can report bugs at [[https://github.com/redguardtoo/evil-nerd-commenter]]. 
My email is <chenbin.sh@gmail.com>.
diff --git a/evil-nerd-commenter-pkg.el b/evil-nerd-commenter-pkg.el
index 86f49c75a9..7f1ce98452 100644
--- a/evil-nerd-commenter-pkg.el
+++ b/evil-nerd-commenter-pkg.el
@@ -1,2 +1,2 @@
-(define-package "evil-nerd-commenter" "0.0.6"
+(define-package "evil-nerd-commenter" "0.0.7"
                 "Comment/uncomment lines efficiently. Like Nerd Commenter in 
Vim")
diff --git a/evil-nerd-commenter.el b/evil-nerd-commenter.el
index f507c1868c..f040d488ae 100644
--- a/evil-nerd-commenter.el
+++ b/evil-nerd-commenter.el
@@ -4,7 +4,7 @@
 
 ;; Author: Chen Bin <chenbin.sh@gmail.com>
 ;; URL: http://github.com/redguardtoo/evil-nerd-commenter
-;; Version: 0.0.6
+;; Version: 0.0.7
 ;; Keywords: commenter vim line evil
 ;;
 ;; This file is not part of GNU Emacs.
@@ -76,7 +76,7 @@
     )
   )
 
-(defun evilnc--operation-on-lines-or-region (fn,&optional NUM)
+(defun evilnc--operation-on-lines-or-region (fn &optional NUM)
   (if (not (region-active-p))
       (let ((b (line-beginning-position))
             e)
@@ -173,7 +173,8 @@
         (newline 1)
         (insert-before-markers str)
         (comment-region beg end)
-        )))
+        ))
+   NUM)
   )
 
 ;;;###autoload
@@ -187,4 +188,4 @@
 
 (provide 'evil-nerd-commenter)
 
-;;; evil-nerd-commenter.el ends here
\ No newline at end of file
+;;; evil-nerd-commenter.el ends here
diff --git a/pkg.sh b/pkg.sh
index 1a4399c170..336e11e36e 100755
--- a/pkg.sh
+++ b/pkg.sh
@@ -1,5 +1,5 @@
 #!/bin/bash
-pkg=evil-nerd-commenter-0.0.6
+pkg=evil-nerd-commenter-0.0.7
 mkdir $pkg
 cp README.org $pkg
 cp *.el $pkg



reply via email to

[Prev in Thread] Current Thread [Next in Thread]