emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master 27b3da3 11/24: avy.el (avy-goto-char-in-line): Fix to this


From: Oleh Krehel
Subject: [elpa] master 27b3da3 11/24: avy.el (avy-goto-char-in-line): Fix to this window
Date: Thu, 25 Jun 2015 10:17:50 +0000

branch: master
commit 27b3da3f4b69d9d588f804b195266ed7891602e1
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>

    avy.el (avy-goto-char-in-line): Fix to this window
    
    Fixes #58
---
 avy.el |   13 ++++---------
 1 files changed, 4 insertions(+), 9 deletions(-)

diff --git a/avy.el b/avy.el
index 9fa303b..11b724e 100644
--- a/avy.el
+++ b/avy.el
@@ -681,15 +681,10 @@ The window scope is determined by `avy-all-windows' (ARG 
negates it)."
      avy-style)))
 
 ;;;###autoload
-(defun avy-goto-char-in-line (char &optional arg)
-  "Jump to the currently visible CHAR in the current line.
-The window scope is determined by `avy-all-windows' (ARG negates it)."
-  (interactive (list (read-char "char: ")
-                     current-prefix-arg))
-  (let ((avy-all-windows
-         (if arg
-             (not avy-all-windows)
-           avy-all-windows)))
+(defun avy-goto-char-in-line (char)
+  "Jump to the currently visible CHAR in the current line."
+  (interactive (list (read-char "char: ")))
+  (let ((avy-all-windows nil))
     (avy--with-avy-keys avy-goto-char
       (avy--goto
        (avy--process



reply via email to

[Prev in Thread] Current Thread [Next in Thread]