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

    Fix error when a region is active and there no TAP
---
 isl.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/isl.el b/isl.el
index f01d1f0523c..10d54c731d2 100644
--- a/isl.el
+++ b/isl.el
@@ -1126,7 +1126,7 @@ Note that INPUT cannot be used with a non nil value for 
RESUME."
                              ;; Prevent inserting multiline string in
                              ;; minibuf.
                              (if (string-match "\n" default)
-                                 (thing-at-point 'symbol t)
+                                 (or (thing-at-point 'symbol t) "")
                                default))))
     (deactivate-mark)
     (unwind-protect

Reply via email to