branch: elpa/isl
commit 739540df5249a6dd7e91a32139294de9613e37c6
Author: Thierry Volpiatto <[email protected]>
Commit: Thierry Volpiatto <[email protected]>

    Don't yank further than eol
---
 isl.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/isl.el b/isl.el
index be19bf9eb94..03bdaca25e5 100644
--- a/isl.el
+++ b/isl.el
@@ -410,6 +410,7 @@ the initial position i.e. the position before launching 
`isl-search'."
   (interactive)
   (let (str)
     (with-current-buffer isl-current-buffer
+      (when (eolp) (error "End of line"))
       (when (or (memq (char-syntax (or (char-after) 0)) '(?w ?_ ? ))
                 (memq (char-syntax (or (char-after (1+ (point))) 0))
                       '(?w ?_ ? )))

Reply via email to