summaryrefslogtreecommitdiff
path: root/lisp/init-ace.el
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2015-07-31 22:36:19 -0400
committerKyle Meyer <kyle@kyleam.com>2015-07-31 22:36:19 -0400
commit808e4c576e1b751570ea8436bc89b697ea2fa35a (patch)
tree92cb8e8428e1938f7023ad98b4ddab4373d933ef /lisp/init-ace.el
parenta7ed888cc820832b0f41e7d280c5fa38b103d9d8 (diff)
downloademacs.d-808e4c576e1b751570ea8436bc89b697ea2fa35a.tar.gz
Remove km/avy-goto-subword-1
I added this because avy-goto-subword-1 was offering invisible text in Org mode buffers as candidates. However, this no longer seems to be the case (and perhaps I was mistaken to begin with or there was something else going on, because I don't see an obvious commit in the avy repo that changes this behavior.)
Diffstat (limited to 'lisp/init-ace.el')
-rw-r--r--lisp/init-ace.el11
1 files changed, 1 insertions, 10 deletions
diff --git a/lisp/init-ace.el b/lisp/init-ace.el
index 9ec2727..2083a64 100644
--- a/lisp/init-ace.el
+++ b/lisp/init-ace.el
@@ -2,16 +2,7 @@
(require 'avy)
-(defun km/avy-goto-subword-1 (char arg)
- "Like `avy-goto-subword-1', but don't consider invisible text."
- (interactive (list (read-char "char: ") current-prefix-arg))
- (avy--with-avy-keys avy-goto-subword-1
- (let ((char (downcase char)))
- (avy-goto-subword-0
- arg (lambda () (and (not (invisible-p (point)))
- (eq (downcase (char-after)) char)))))))
-
-(key-chord-define-global "jf" 'km/avy-goto-subword-1)
+(key-chord-define-global "jf" 'avy-goto-subword-1)
;;; Ace Link