Browse Source

Use fboundp

master
10sr 5 years ago
parent
commit
467cd7aff9
Signed by: 10sr GPG Key ID: 7BEC428194130EB2
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      emacs.el

+ 2
- 2
emacs.el View File

@@ -2352,7 +2352,7 @@ Any output will be written to current buffer."


;; ivy ;; ivy


(when (require 'counsel nil t)
(when (fboundp 'counsel-M-x)
(defvar ivy-re-builders-alist) (defvar ivy-re-builders-alist)
(set-variable 'ivy-re-builders-alist (set-variable 'ivy-re-builders-alist
'((t . (lambda (s) '((t . (lambda (s)
@@ -2371,7 +2371,7 @@ Any output will be written to current buffer."
;; (counsel-fzf))))) ;; (counsel-fzf)))))
) )


(when (require 'swoop nil t)
(when (fboundp 'swoop)
(global-set-key (kbd "C-s") 'swoop) (global-set-key (kbd "C-s") 'swoop)
(global-set-key (kbd "C-r") 'swoop) (global-set-key (kbd "C-r") 'swoop)
(define-key esc-map (kbd "C-s") 'swoop-multi) (define-key esc-map (kbd "C-s") 'swoop-multi)


Loading…
Cancel
Save