From: Eli Zaretskii Date: Sun, 6 Dec 2020 15:43:18 +0000 (+0200) Subject: Improve error message text of "C-x C-SPC" X-Git-Tag: emacs-28.0.90~4900 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=87a9fc6dcd8e364c9ae27da27fee439dc41c2e25;p=emacs.git Improve error message text of "C-x C-SPC" * lisp/simple.el (pop-global-mark): Mention the buffer name in the error message. Suggested by T.V Raman . --- diff --git a/lisp/simple.el b/lisp/simple.el index d73bc6b0682..3c4f7562308 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -6426,7 +6426,8 @@ for it.") (<= position (point-max))) (if widen-automatically (widen) - (error "Global mark position is outside accessible part of buffer"))) + (error "Global mark position is outside accessible part of buffer %s" + (buffer-name buffer)))) (goto-char position) (switch-to-buffer buffer)))