about summary refs log tree commit diff stats
path: root/.emacs.d/lisp
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/lisp')
-rw-r--r--.emacs.d/lisp/init-search.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/.emacs.d/lisp/init-search.el b/.emacs.d/lisp/init-search.el
index b42e49f..d9dbb13 100644
--- a/.emacs.d/lisp/init-search.el
+++ b/.emacs.d/lisp/init-search.el
@@ -191,8 +191,6 @@
     (setq input (cdr (orderless-compile input)))
     (cons input (apply-partially #'orderless--highlight input t)))
   (setq affe-regexp-compiler #'affe-orderless-regexp-compiler)
-  ;; Manual preview key for `affe-grep'
-  (consult-customize affe-grep :preview-key (kbd "M-."))
   (defun my/affe-grep-symbol-at-point (&optional dir initial)
     (interactive
      (list prefix-arg (when-let ((s (symbol-at-point)))
@@ -203,6 +201,7 @@
      (list prefix-arg (when-let ((s (symbol-at-point)))
                         (symbol-name s))))
     (affe-find dir initial))
+  (consult-customize affe-grep my/affe-grep-symbol-at-point :preview-key "M-.")
   :bind
   ("C-#" . affe-grep)
   ("C-c z" . affe-find)
:05:41 +0000 committer jncronin <jncronin@21779fe5-bacf-4c11-b3ef-82bd0e1f58e8> 2014-07-14 21:05:41 +0000 git-svn-id: https://www.tysos.org/svn/branches/tysila3/tload/mkgpt@549 21779fe5-bacf-4c11-b3ef-82bd0e1f58e8' href='/phf/mkgpt/commit/mkgpt.vcxproj?id=a7c0c3ce10b4a6a9a481ea486da625eac6ae3d58'>a7c0c3c
6e9c25a ^
a7c0c3c


















































1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79