aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/term
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/term')
-rw-r--r--lisp/term/mac-win.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/term/mac-win.el b/lisp/term/mac-win.el
index 60f27052892..e15f2e4c873 100644
--- a/lisp/term/mac-win.el
+++ b/lisp/term/mac-win.el
@@ -1802,11 +1802,11 @@ if possible. If there's no such frame, a new frame is created."
1802 (let ((line (car selection-range)) 1802 (let ((line (car selection-range))
1803 (start (cadr selection-range)) 1803 (start (cadr selection-range))
1804 (end (nth 2 selection-range))) 1804 (end (nth 2 selection-range)))
1805 (if (> line 0) 1805 (if (>= line 0)
1806 (goto-line line) 1806 (goto-line (1+ line))
1807 (if (and (> start 0) (> end 0)) 1807 (if (and (>= start 0) (>= end 0))
1808 (progn (set-mark start) 1808 (progn (set-mark (1+ start))
1809 (goto-char end)))))) 1809 (goto-char (1+ end)))))))
1810 ((stringp search-text) 1810 ((stringp search-text)
1811 (re-search-forward 1811 (re-search-forward
1812 (mapconcat 'regexp-quote (split-string search-text) "\\|") 1812 (mapconcat 'regexp-quote (split-string search-text) "\\|")