unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#11202: 24.0.93; shell.el: Documentation for M-x shell sometimes shows wrong keybinding for describe-mode
@ 2012-04-08 12:58 David Röthlisberger
       [not found] ` <handler.11202.B.13338899698221.ack@debbugs.gnu.org>
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: David Röthlisberger @ 2012-04-08 12:58 UTC (permalink / raw)
  To: 11202

If I invoke 'M-x describe-function shell' when I am already in help-mode, the last sentence reads:

> (Type h in the shell buffer for a list of commands.)

(Normally --if describe-function is invoked from outside of help-mode-- it would read "C-h m" instead of "h".)

Patch below. Would you like me to provide a similar patch for all instances of "\\[describe-mode]" in the lisp directory?

Kind regards,
Dave.


From: David Rothlisberger <david@rothlis.net>
Date: Sun, 8 Apr 2012 13:50:28 +0100
Subject: [PATCH] * shell.el: Correct keybinding for `describe-mode' in
 `shell' docstring.

---
 lisp/shell.el |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/shell.el b/lisp/shell.el
index 7c5ce49..a9e2113 100644
--- a/lisp/shell.el
+++ b/lisp/shell.el
@@ -607,7 +607,7 @@ (defun shell (&optional buffer)
 and controlling the subjobs of the shell.  See `shell-mode'.
 See also the variable `shell-prompt-pattern'.
 
-To specify a coding system for converting non-ASCII characters
+\\<shell-mode-map>To specify a coding system for converting non-ASCII characters
 in the input and output to the shell, use \\[universal-coding-system-argument]
 before \\[shell].  You can also specify this with \\[set-buffer-process-coding-system]
 in the shell buffer, after you start the shell.
-- 
1.7.9.2






^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-10-12  5:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-08 12:58 bug#11202: 24.0.93; shell.el: Documentation for M-x shell sometimes shows wrong keybinding for describe-mode David Röthlisberger
     [not found] ` <handler.11202.B.13338899698221.ack@debbugs.gnu.org>
2012-04-15  8:52   ` bug#11202: Acknowledgement (24.0.93; shell.el: Documentation for M-x shell sometimes shows wrong keybinding for describe-mode) David Röthlisberger
2012-06-19 18:14 ` bug#11202: 24.0.93; shell.el: Documentation for M-x shell sometimes shows wrong keybinding for describe-mode Stefan Monnier
2019-10-12  5:11 ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).