From 17652a17473e397de07e9564861bae635890f653 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Thu, 30 Jan 2014 13:57:25 +0900 Subject: [PATCH] some prefs for isearch --- emacs.el | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/emacs.el b/emacs.el index 1cf6fa7..22b3c80 100644 --- a/emacs.el +++ b/emacs.el @@ -984,6 +984,16 @@ found, otherwise returns nil." (define-key isearch-mode-map (kbd "C-h") 'isearch-delete-char) (define-key isearch-mode-map (kbd "M-r") 'isearch-query-replace-regexp))) +;; do not cleanup isearch highlight: use `lazy-highlight-cleanup' to remove +(setq lazy-highlight-cleanup nil) +;; face for isearch highlighing +(set-face-attribute 'lazy-highlight + nil + :foreground `unspecified + :background `unspecified + :underline t + ;; :weight `bold + ) (add-hook 'outline-mode-hook (lambda ()