diff options
author | Alan Pearce | 2018-10-17 22:26:36 +0200 |
---|---|---|
committer | Alan Pearce | 2018-10-17 22:26:36 +0200 |
commit | 96a53b4e95bcb1113e57b8d2debca0814b6bfaf1 (patch) | |
tree | f314037efa6c77677211e14d4439ca0619b3b0a9 /emacs/.emacs.d/main.el | |
parent | 388f6e97e15fcb54bf367e91176dd4be00552a20 (diff) | |
download | nixfiles-96a53b4e95bcb1113e57b8d2debca0814b6bfaf1.tar.lz nixfiles-96a53b4e95bcb1113e57b8d2debca0814b6bfaf1.tar.zst nixfiles-96a53b4e95bcb1113e57b8d2debca0814b6bfaf1.zip |
Emacs: Fix oddities with counsel-projectile
Diffstat (limited to 'emacs/.emacs.d/main.el')
-rw-r--r-- | emacs/.emacs.d/main.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el index fc3e32d4..8f643c05 100644 --- a/emacs/.emacs.d/main.el +++ b/emacs/.emacs.d/main.el @@ -434,8 +434,7 @@ (use-package projectile-ripgrep :after (ripgrep projectile) :if (executable-find "rg") - :bind (:map projectile-command-map - ("s r" . projectile-ripgrep))) + :config (bind-key "s r" #'projectile-ripgrep projectile-command-map)) ;;;;; Projectile @@ -561,7 +560,8 @@ (def-projectile-commander-method ?A "Find rg on project." (call-interactively #'counsel-projectile-rg)) - (define-key counsel-projectile-command-map (kbd "s s") #'counsel-projectile-rg))) + (if (boundp 'counsel-projectile-command-map) + (define-key counsel-projectile-command-map (kbd "s s") #'counsel-projectile-rg)))) ;;;;; vc |