branch: elpa/isl
commit 09a15785db501fb18db6d5dae4ba5a78c346c120
Author: Thierry Volpiatto <[email protected]>
Commit: Thierry Volpiatto <[email protected]>
Set isl--narrow-to-region once narrowed
---
isl.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/isl.el b/isl.el
index 1f8b9553180..7aad586fc1d 100644
--- a/isl.el
+++ b/isl.el
@@ -1334,9 +1334,9 @@ With a prefix ARG choose one of the last buffers isl had
visited."
(save-restriction
(if (and beg end (region-active-p))
(progn
+ (narrow-to-region beg end)
(setq isl--narrow-to-region
- (buffer-substring beg end))
- (narrow-to-region beg end))
+ (buffer-substring (point-min) (point-max))))
(narrow-to-defun))
(setq isl--point-min (point-min)
isl--point-max (point-max))