emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 87a9fc6: Improve error message text of "C-x C-SPC"


From: Eli Zaretskii
Subject: master 87a9fc6: Improve error message text of "C-x C-SPC"
Date: Sun, 6 Dec 2020 10:44:11 -0500 (EST)

branch: master
commit 87a9fc6dcd8e364c9ae27da27fee439dc41c2e25
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    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>.
---
 lisp/simple.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lisp/simple.el b/lisp/simple.el
index d73bc6b..3c4f756 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)))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]