branch: elpa/isl
commit bf32dbbc589e50152f73e123b42b24a94c450c6f
Author: Thierry Volpiatto <[email protected]>
Commit: Thierry Volpiatto <[email protected]>
Reorder no code change
---
isl.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/isl.el b/isl.el
index 46dd6f62e65..776a810c469 100644
--- a/isl.el
+++ b/isl.el
@@ -1069,10 +1069,10 @@ Note that INPUT cannot be used with a non nil value for
RESUME."
(region-beginning)
(region-end))
(thing-at-point 'symbol t))))
- ;; Prevent inserting multiline string in minibuf.
-
(when (stringp default)
(setq default (funcall format-fn
+ ;; Prevent inserting multiline string in
+ ;; minibuf.
(if (string-match "\n" default)
(thing-at-point 'symbol t)
default))))