aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/simple.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/simple.el b/lisp/simple.el
index affc4dd8ea8..9fceb68f8d2 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -3240,8 +3240,8 @@ as a fallback, and won't change the buffer bounds.")
3240 (or (and (>= position (point-min)) 3240 (or (and (>= position (point-min))
3241 (<= position (point-max))) 3241 (<= position (point-max)))
3242 (if widen-automatically 3242 (if widen-automatically
3243 (error "Global mark position is outside accessible part of buffer") 3243 (widen)
3244 (widen))) 3244 (error "Global mark position is outside accessible part of buffer")))
3245 (goto-char position) 3245 (goto-char position)
3246 (switch-to-buffer buffer))) 3246 (switch-to-buffer buffer)))
3247 3247