diff options
| author | Eli Zaretskii | 2020-12-06 17:43:18 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2020-12-06 17:43:18 +0200 |
| commit | 87a9fc6dcd8e364c9ae27da27fee439dc41c2e25 (patch) | |
| tree | acc020ce5d515d63007642d6987b46bcad226ebe | |
| parent | 2bd76cc107b415ccdebdfad3a2fad71e2adbaa51 (diff) | |
| download | emacs-87a9fc6dcd8e364c9ae27da27fee439dc41c2e25.tar.gz emacs-87a9fc6dcd8e364c9ae27da27fee439dc41c2e25.zip | |
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>.
| -rw-r--r-- | lisp/simple.el | 3 |
1 files changed, 2 insertions, 1 deletions
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.") | |||
| 6426 | (<= position (point-max))) | 6426 | (<= position (point-max))) |
| 6427 | (if widen-automatically | 6427 | (if widen-automatically |
| 6428 | (widen) | 6428 | (widen) |
| 6429 | (error "Global mark position is outside accessible part of buffer"))) | 6429 | (error "Global mark position is outside accessible part of buffer %s" |
| 6430 | (buffer-name buffer)))) | ||
| 6430 | (goto-char position) | 6431 | (goto-char position) |
| 6431 | (switch-to-buffer buffer))) | 6432 | (switch-to-buffer buffer))) |
| 6432 | 6433 | ||