diff options
author | Alan Pearce | 2017-08-03 12:44:45 +0200 |
---|---|---|
committer | Alan Pearce | 2017-08-03 12:44:45 +0200 |
commit | 0fa6a6ba99361ff513dfd93f24d605a07a5c9f07 (patch) | |
tree | c4e9f6fa141b51b1c1cae2c176b88e81adbc3064 /emacs/.emacs.d/init.org | |
parent | d42c508a6c8d51ff9efa72cfcdd357cef3f0f9da (diff) | |
download | dotfiles-0fa6a6ba99361ff513dfd93f24d605a07a5c9f07.tar.lz dotfiles-0fa6a6ba99361ff513dfd93f24d605a07a5c9f07.tar.zst dotfiles-0fa6a6ba99361ff513dfd93f24d605a07a5c9f07.zip |
Emacs: Fix byte-compiler warnings
Diffstat (limited to 'emacs/.emacs.d/init.org')
-rw-r--r-- | emacs/.emacs.d/init.org | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org index 78c1ede..da79d68 100644 --- a/emacs/.emacs.d/init.org +++ b/emacs/.emacs.d/init.org @@ -604,7 +604,7 @@ ones. :demand t :diminish projectile-mode :config (progn - (projectile-global-mode +1) + (projectile-mode -1) (add-to-list 'projectile-globally-ignored-directories ".stversions") (defun yarn-install (&optional arg) @@ -2174,8 +2174,7 @@ an AST internally, so it can work with it almost like a lisp. (define-key js2-mode-map [menu-bar Javascript] nil) (defun js2--imenu-around (do-it name) "Don't create a menu from js2-mode" - (if (and (not (string-equal name "IM-Javascript-IDE")) - (fboundp #'do-it)) + (if (not (string-equal name "IM-Javascript-IDE")) (do-it name))) (add-hook 'js2-mode-hook #'js2-imenu-extras-mode) (advice-add 'imenu-add-to-menubar :around #'js2--imenu-around) |