Skip to content

Commit

Permalink
Temporarily disable evil-nerd-commenter for Emacs 24.4
Browse files Browse the repository at this point in the history
  • Loading branch information
syl20bnr committed Oct 26, 2014
1 parent 6bad84c commit 19a1bba
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions spacemacs/packages.el
Original file line number Diff line number Diff line change
Expand Up @@ -350,19 +350,19 @@ of 2 characters. If INSERT? is not nil then the first key pressed is inserted
(use-package evil-surround
:init (global-evil-surround-mode 1))
;; load nerd-commenter
(use-package evil-nerd-commenter
:init
(progn
(global-evil-leader-mode)
(evil-leader/set-key
"ncl" 'evilnc-comment-or-uncomment-lines
"nct" 'evilnc-quick-comment-or-uncomment-to-the-line
"ncy" 'evilnc-copy-and-comment-lines
"ncp" 'evilnc-comment-or-uncomment-paragraphs
"ncr" 'comment-or-uncomment-region
"nci" 'evilnc-toggle-invert-comment-line-by-line
"ncc" 'evilnc-comment-operator
)))
(if (version< emacs-version "24.4")
(use-package evil-nerd-commenter
:init
(progn
(evil-leader/set-key
"ncl" 'evilnc-comment-or-uncomment-lines
"nct" 'evilnc-quick-comment-or-uncomment-to-the-line
"ncy" 'evilnc-copy-and-comment-lines
"ncp" 'evilnc-comment-or-uncomment-paragraphs
"ncr" 'comment-or-uncomment-region
"nci" 'evilnc-toggle-invert-comment-line-by-line
"ncc" 'evilnc-comment-operator
))))
;; load evil-exchange
(use-package evil-exchange
:init (evil-exchange-install))
Expand Down

2 comments on commit 19a1bba

@Olical
Copy link
Contributor

@Olical Olical commented on 19a1bba Oct 27, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was this causing errors then? I think I may have seen some and deleted the .elc file. Hmm.

@syl20bnr
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Wolfy87 Indeed seems to be related to byte compilation, more info in issue #40

Please sign in to comment.