mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
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 <raman@google.com>.
This commit is contained in:
parent
2bd76cc107
commit
87a9fc6dcd
1 changed files with 2 additions and 1 deletions
|
|
@ -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)))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue