File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -394,12 +394,13 @@ the buffer changes."
394394
395395(add-hook 'window-selection-change-functions #'boon-reset-state-for-switchw )
396396
397- (defadvice isearch-exit (after boon-isearch-set-search activate compile)
397+ (declare-function boon-hl-regexp (regexp &optional face))
398+ (define-advice isearch-exit (:after () boon-set-search)
398399 " After isearch, highlight the search term."
399400 (boon-hl-regexp (if isearch-regexp isearch-string (regexp-quote isearch-string))))
400401
401- (defadvice swiper--action (after boon-swiper- set-search activate compile )
402- " After swiper , highlight the search term."
402+ (define-advice swiper--action (: after (_x) boon-set-search)
403+ " After isearch , highlight the search term."
403404 (boon-hl-regexp (car regexp-search-ring)))
404405
405406(provide 'boon-core )
You can’t perform that action at this time.
0 commit comments