branch: elpa/isl
commit 6796d34dc4d2729ba8e2ec4b12d66045a191e0e4
Author: Thierry Volpiatto <[email protected]>
Commit: Thierry Volpiatto <[email protected]>
Narrowing now unneeded in isl-resume
---
isl.el | 12 ++++--------
1 file changed, 4 insertions(+), 8 deletions(-)
diff --git a/isl.el b/isl.el
index cc6b34fc164..bad4dadddc9 100644
--- a/isl.el
+++ b/isl.el
@@ -1339,14 +1339,10 @@ With a prefix ARG choose one of the last buffers isl
had visited."
(cl-assert isl--current-buffer
nil "No previous Isl session yet recorded here")
(switch-to-buffer isl--current-buffer)
- (let (beg end)
- (with-current-buffer isl--current-buffer
- (funcall isl--last-object)
- (setq isl--pattern ""))
- (save-restriction
- (when (and beg end)
- (narrow-to-region beg end))
- (isl-search-1 'resume))))
+ (with-current-buffer isl--current-buffer
+ (funcall isl--last-object)
+ (setq isl--pattern ""))
+ (isl-search-1 'resume))
;;;###autoload
(defun isl-search-defun ()