diff options
| author | Stefan Kangas | 2021-03-08 12:50:22 +0100 |
|---|---|---|
| committer | Stefan Kangas | 2021-03-10 04:26:06 +0100 |
| commit | 1c5cb14c0daa00fcdc32e324cc8e0e327bf46bce (patch) | |
| tree | 7d66a6e3ea8e2ba75221860d206d51cf643ae4f2 | |
| parent | 5217b56ee1bdee5df41b9c3773da85c4586af36f (diff) | |
| download | emacs-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.el | 6 | ||||
| -rw-r--r-- | lisp/ibuffer.el | 2 | ||||
| -rw-r--r-- | lisp/tar-mode.el | 8 | ||||
| -rw-r--r-- | lisp/textmodes/table.el | 2 |
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. |
| 662 | You can move around using the usual cursor motion commands. | 662 | You can move around using the usual cursor motion commands. |
| 663 | Letters no longer insert themselves. | 663 | Letters no longer insert themselves.\\<archive-mode-map> |
| 664 | Type `e' to pull a file out of the archive and into its own buffer; | 664 | Type \\[archive-extract] to pull a file out of the archive and into its own buffer; |
| 665 | or click mouse-2 on the file's line in the archive mode buffer. | 665 | or click mouse-2 on the file's line in the archive mode buffer. |
| 666 | 666 | ||
| 667 | If you edit a sub-file of this archive (as with the `e' command) and | 667 | If you edit a sub-file of this archive (as with the \\[archive-extract] command) and |
| 668 | save it, the contents of that buffer will be saved back into the | 668 | save it, the contents of that buffer will be saved back into the |
| 669 | archive. | 669 | archive. |
| 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. |
| 2300 | Type `h' after entering ibuffer for more information. | 2300 | Type \\<ibuffer-mode-map>\\[describe-mode] after entering ibuffer for more information. |
| 2301 | 2301 | ||
| 2302 | All arguments are optional. | 2302 | All arguments are optional. |
| 2303 | OTHER-WINDOW-P says to use another window. | 2303 | OTHER-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. |
| 687 | You can move around using the usual cursor motion commands. | 687 | You can move around using the usual cursor motion commands. |
| 688 | Letters no longer insert themselves. | 688 | Letters no longer insert themselves.\\<tar-mode-map> |
| 689 | Type `e' to pull a file out of the tar file and into its own buffer; | 689 | Type \\[tar-extract] to pull a file out of the tar file and into its own buffer; |
| 690 | or click mouse-2 on the file's line in the Tar mode buffer. | 690 | or click mouse-2 on the file's line in the Tar mode buffer. |
| 691 | Type `c' to copy an entry from the tar file into another file on disk. | 691 | Type \\[tar-copy] to copy an entry from the tar file into another file on disk. |
| 692 | 692 | ||
| 693 | If you edit a sub-file of this archive (as with the `e' command) and | 693 | If you edit a sub-file of this archive (as with the \\[tar-extract] command) and |
| 694 | save it with \\[save-buffer], the contents of that buffer will be | 694 | save it with \\[save-buffer], the contents of that buffer will be |
| 695 | saved back into the tar-file buffer; in this way you can edit a file | 695 | saved back into the tar-file buffer; in this way you can edit a file |
| 696 | inside of a tar archive without extracting it and re-archiving it. | 696 | inside 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 | ||
| 1495 | Type M-x table-insert-row instead of \\[table-insert-row-column]. \\[table-insert-row-column] does not work | 1495 | Type \\[table-insert-row] instead of \\[table-insert-row-column]. \\[table-insert-row-column] does not work |
| 1496 | when the point is outside of the table. This insertion at | 1496 | when the point is outside of the table. This insertion at |
| 1497 | outside of the table effectively appends a row at the end. | 1497 | outside of the table effectively appends a row at the end. |
| 1498 | 1498 | ||