aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Kangas2021-03-08 12:50:22 +0100
committerStefan Kangas2021-03-10 04:26:06 +0100
commit1c5cb14c0daa00fcdc32e324cc8e0e327bf46bce (patch)
tree7d66a6e3ea8e2ba75221860d206d51cf643ae4f2
parent5217b56ee1bdee5df41b9c3773da85c4586af36f (diff)
downloademacs-1c5cb14c0daa00fcdc32e324cc8e0e327bf46bce.tar.gz
emacs-1c5cb14c0daa00fcdc32e324cc8e0e327bf46bce.zip
Use proper command substitutions in some docstrings
* lisp/arc-mode.el (archive-mode): * lisp/ibuffer.el (ibuffer): * lisp/tar-mode.el (tar-mode): * lisp/textmodes/table.el (table-insert): Use substitute-command-keys instead of hardcoded keys in some docstrings.
-rw-r--r--lisp/arc-mode.el6
-rw-r--r--lisp/ibuffer.el2
-rw-r--r--lisp/tar-mode.el8
-rw-r--r--lisp/textmodes/table.el2
4 files changed, 9 insertions, 9 deletions
diff --git a/lisp/arc-mode.el b/lisp/arc-mode.el
index 6c9ceb0b5a8..83c516100ab 100644
--- a/lisp/arc-mode.el
+++ b/lisp/arc-mode.el
@@ -660,11 +660,11 @@ Does not signal an error if optional argument NOERROR is non-nil."
660(defun archive-mode (&optional force) 660(defun archive-mode (&optional force)
661 "Major mode for viewing an archive file in a dired-like way. 661 "Major mode for viewing an archive file in a dired-like way.
662You can move around using the usual cursor motion commands. 662You can move around using the usual cursor motion commands.
663Letters no longer insert themselves. 663Letters no longer insert themselves.\\<archive-mode-map>
664Type `e' to pull a file out of the archive and into its own buffer; 664Type \\[archive-extract] to pull a file out of the archive and into its own buffer;
665or click mouse-2 on the file's line in the archive mode buffer. 665or click mouse-2 on the file's line in the archive mode buffer.
666 666
667If you edit a sub-file of this archive (as with the `e' command) and 667If you edit a sub-file of this archive (as with the \\[archive-extract] command) and
668save it, the contents of that buffer will be saved back into the 668save it, the contents of that buffer will be saved back into the
669archive. 669archive.
670 670
diff --git a/lisp/ibuffer.el b/lisp/ibuffer.el
index 78ae2705a91..b484dd717ca 100644
--- a/lisp/ibuffer.el
+++ b/lisp/ibuffer.el
@@ -2297,7 +2297,7 @@ buffers which are visiting a file."
2297(defun ibuffer (&optional other-window-p name qualifiers noselect 2297(defun ibuffer (&optional other-window-p name qualifiers noselect
2298 shrink filter-groups formats) 2298 shrink filter-groups formats)
2299 "Begin using Ibuffer to edit a list of buffers. 2299 "Begin using Ibuffer to edit a list of buffers.
2300Type `h' after entering ibuffer for more information. 2300Type \\<ibuffer-mode-map>\\[describe-mode] after entering ibuffer for more information.
2301 2301
2302All arguments are optional. 2302All arguments are optional.
2303OTHER-WINDOW-P says to use another window. 2303OTHER-WINDOW-P says to use another window.
diff --git a/lisp/tar-mode.el b/lisp/tar-mode.el
index 59f7c87e99b..fa9b47556f7 100644
--- a/lisp/tar-mode.el
+++ b/lisp/tar-mode.el
@@ -685,12 +685,12 @@ For instance, if mode is #o700, then it produces `rwx------'."
685(define-derived-mode tar-mode special-mode "Tar" 685(define-derived-mode tar-mode special-mode "Tar"
686 "Major mode for viewing a tar file as a dired-like listing of its contents. 686 "Major mode for viewing a tar file as a dired-like listing of its contents.
687You can move around using the usual cursor motion commands. 687You can move around using the usual cursor motion commands.
688Letters no longer insert themselves. 688Letters no longer insert themselves.\\<tar-mode-map>
689Type `e' to pull a file out of the tar file and into its own buffer; 689Type \\[tar-extract] to pull a file out of the tar file and into its own buffer;
690or click mouse-2 on the file's line in the Tar mode buffer. 690or click mouse-2 on the file's line in the Tar mode buffer.
691Type `c' to copy an entry from the tar file into another file on disk. 691Type \\[tar-copy] to copy an entry from the tar file into another file on disk.
692 692
693If you edit a sub-file of this archive (as with the `e' command) and 693If you edit a sub-file of this archive (as with the \\[tar-extract] command) and
694save it with \\[save-buffer], the contents of that buffer will be 694save it with \\[save-buffer], the contents of that buffer will be
695saved back into the tar-file buffer; in this way you can edit a file 695saved back into the tar-file buffer; in this way you can edit a file
696inside of a tar archive without extracting it and re-archiving it. 696inside of a tar archive without extracting it and re-archiving it.
diff --git a/lisp/textmodes/table.el b/lisp/textmodes/table.el
index 06785e458b2..60122b2fac1 100644
--- a/lisp/textmodes/table.el
+++ b/lisp/textmodes/table.el
@@ -1492,7 +1492,7 @@ Move the point under the table as shown below.
1492 +--------------+------+--------------------------------+ 1492 +--------------+------+--------------------------------+
1493 -!- 1493 -!-
1494 1494
1495Type M-x table-insert-row instead of \\[table-insert-row-column]. \\[table-insert-row-column] does not work 1495Type \\[table-insert-row] instead of \\[table-insert-row-column]. \\[table-insert-row-column] does not work
1496when the point is outside of the table. This insertion at 1496when the point is outside of the table. This insertion at
1497outside of the table effectively appends a row at the end. 1497outside of the table effectively appends a row at the end.
1498 1498