branch: elpa/evil-nerd-commenter
commit 516fe784dcda0ecc0f39323d3b13c4b990b5c238
Author: lalopmak <[email protected]>
Commit: lalopmak <[email protected]>
Updated snippet to reflect code
---
README.org | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/README.org b/README.org
index 5428ed277d..f810b3b8b1 100644
--- a/README.org
+++ b/README.org
@@ -43,7 +43,8 @@ Further explanation, the content of evilnc-default-hotkeys is:
(global-set-key (kbd "C-c c") 'evilnc-copy-and-comment-lines)
(global-set-key (kbd "C-c p") 'evilnc-comment-or-uncomment-paragraphs)
(eval-after-load 'evil
- '(define-key evil-normal-state-map "," 'evilnc-comment-operator)))
+ '(when (fboundp 'evilnc-comment-operator)
+ (define-key evil-normal-state-map "," 'evilnc-comment-operator))))
#+END_SRC
As you can see, the default hot key for commenting lines is "M-;" when you
don't use [[http://emacswiki.org/emacs/Evil][evil-mode]].