From 3f9f3ba4370bd4d0f33392befb35328327d73b1e Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Thu, 16 Sep 2021 20:05:48 +0200 Subject: Docfix: use command substitution for 'universal-argument' * lisp/autoarg.el (autoarg-mode): * lisp/bookmark.el (bookmark-set, bookmark-set-no-overwrite) (bookmark-save): * lisp/calendar/todo-mode.el (todo-insert-item) (todo-filter-top-priorities) (todo-filter-top-priorities-multifile): * lisp/dired-x.el (dired-mark-extension, dired-mark-suffix): * lisp/eshell/eshell.el (eshell): * lisp/gnus/gnus-group.el (gnus-group-find-new-groups): * lisp/gnus/gnus-start.el (gnus-find-new-newsgroups): * lisp/gnus/gnus-sum.el (gnus-summary-show-article): * lisp/gnus/gnus.el (gnus-secondary-servers): * lisp/org/org-timer.el (org-timer-set-timer): * lisp/org/ox.el (org-export-dispatch-last-position): * lisp/printing.el (pr-ps-directory-preview) (pr-ps-directory-using-ghostscript, pr-ps-directory-print) (pr-ps-directory-ps-print, pr-ps-buffer-preview) (pr-ps-buffer-using-ghostscript, pr-ps-buffer-print) (pr-ps-buffer-ps-print, pr-despool-preview) (pr-despool-using-ghostscript, pr-despool-print) (pr-despool-ps-print, pr-ps-file-up-ps-print, pr-ps-fast-fire) (pr-txt-fast-fire): * lisp/progmodes/idlwave.el (idlwave-complete): * lisp/progmodes/sh-script.el (sh-set-shell): * lisp/replace.el (occur): * lisp/ses.el (ses--advice-yank): * lisp/simple.el (set-mark-command-repeat-pop): * lisp/sort.el (delete-duplicate-lines): * lisp/strokes.el (strokes-help): * lisp/textmodes/artist.el (artist-mode): * lisp/textmodes/reftex-cite.el (reftex-citation): * lisp/textmodes/reftex-dcr.el (reftex-view-crossref): * lisp/textmodes/reftex-index.el (reftex-index-selection-or-word) (reftex-display-index): * lisp/textmodes/reftex-ref.el (reftex-reference): * lisp/textmodes/reftex-toc.el (reftex-toc): * lisp/textmodes/reftex-vars.el (reftex-cite-prompt-optional-args) (reftex-enable-partial-scans): * lisp/textmodes/texnfo-upd.el (texinfo-master-menu): * lisp/windmove.el (windmove-display-in-direction) (windmove-delete-left, windmove-delete-up) (windmove-delete-right, windmove-delete-down): * lisp/window.el (recenter-window-group, recenter-other-window): Use command substitution for 'universal-argument' instead of raw "C-u". --- lisp/autoarg.el | 2 +- lisp/bookmark.el | 10 +++++----- lisp/calendar/todo-mode.el | 14 +++++++------- lisp/dired-x.el | 8 ++++---- lisp/eshell/eshell.el | 2 +- lisp/gnus/gnus-group.el | 4 ++-- lisp/gnus/gnus-start.el | 4 ++-- lisp/gnus/gnus-sum.el | 6 +++--- lisp/gnus/gnus.el | 2 +- lisp/ldefs-boot.el | 2 +- lisp/org/org-timer.el | 6 +++--- lisp/org/ox.el | 2 +- lisp/printing.el | 36 ++++++++++++++++++------------------ lisp/progmodes/idlwave.el | 4 ++-- lisp/progmodes/sh-script.el | 2 +- lisp/replace.el | 2 +- lisp/ses.el | 4 ++-- lisp/simple.el | 6 +++--- lisp/sort.el | 6 +++--- lisp/strokes.el | 22 +++++++++++----------- lisp/textmodes/artist.el | 2 +- lisp/textmodes/reftex-cite.el | 2 +- lisp/textmodes/reftex-dcr.el | 2 +- lisp/textmodes/reftex-index.el | 6 +++--- lisp/textmodes/reftex-ref.el | 2 +- lisp/textmodes/reftex-toc.el | 2 +- lisp/textmodes/reftex-vars.el | 6 +++--- lisp/textmodes/texnfo-upd.el | 4 ++-- lisp/windmove.el | 10 +++++----- lisp/window.el | 4 ++-- 30 files changed, 92 insertions(+), 92 deletions(-) diff --git a/lisp/autoarg.el b/lisp/autoarg.el index 7c2c6f1030d..b52a4305be8 100644 --- a/lisp/autoarg.el +++ b/lisp/autoarg.el @@ -104,7 +104,7 @@ For example: `6 9 a' inserts 69 `a's into the buffer. `6 9 \\[autoarg-terminate] \\[autoarg-terminate]' inserts `69' into the buffer and then invokes the normal binding of \\[autoarg-terminate]. -`C-u \\[autoarg-terminate]' invokes the normal binding of \\[autoarg-terminate] four times. +`\\[universal-argument] \\[autoarg-terminate]' invokes the normal binding of \\[autoarg-terminate] four times. \\{autoarg-mode-map}" :lighter" Aarg" :global t :group 'keyboard) diff --git a/lisp/bookmark.el b/lisp/bookmark.el index 56aec1c4f99..ac63c8f1b0a 100644 --- a/lisp/bookmark.el +++ b/lisp/bookmark.el @@ -908,11 +908,11 @@ To yank words from the text of the buffer and use them as part of the bookmark name, type C-w while setting a bookmark. Successive C-w's yank successive words. -Typing C-u inserts (at the bookmark name prompt) the name of the last +Typing \\[universal-argument] inserts (at the bookmark name prompt) the name of the last bookmark used in the document where the new bookmark is being set; this helps you use a single bookmark name to track progress through a large document. If there is no prior bookmark for this document, then -C-u inserts an appropriate name based on the buffer or file. +\\[universal-argument] inserts an appropriate name based on the buffer or file. Use \\[bookmark-delete] to remove bookmarks (you give it a name and it removes only the first instance of a bookmark with that name from @@ -941,11 +941,11 @@ To yank words from the text of the buffer and use them as part of the bookmark name, type C-w while setting a bookmark. Successive C-w's yank successive words. -Typing C-u inserts (at the bookmark name prompt) the name of the last +Typing \\[universal-argument] inserts (at the bookmark name prompt) the name of the last bookmark used in the document where the new bookmark is being set; this helps you use a single bookmark name to track progress through a large document. If there is no prior bookmark for this document, then -C-u inserts an appropriate name based on the buffer or file. +\\[universal-argument] inserts an appropriate name based on the buffer or file. Use \\[bookmark-delete] to remove bookmarks (you give it a name and it removes only the first instance of a bookmark with that name from @@ -1494,7 +1494,7 @@ is greater than `bookmark-alist-modification-count'." "Save currently defined bookmarks in FILE. FILE defaults to `bookmark-default-file'. With prefix PARG, query user for a file to save in. -If MAKE-DEFAULT is non-nil (interactively with prefix C-u C-u) +If MAKE-DEFAULT is non-nil (interactively with prefix \\[universal-argument] \\[universal-argument]) the file we save in becomes the new default in the current Emacs session (without affecting the value of `bookmark-default-file'.). diff --git a/lisp/calendar/todo-mode.el b/lisp/calendar/todo-mode.el index 68e29d4cec9..51a27511320 100644 --- a/lisp/calendar/todo-mode.el +++ b/lisp/calendar/todo-mode.el @@ -1846,9 +1846,9 @@ consist of the last todo items and the first done items." This inserts a new todo item into a category. With no prefix argument ARG, add the item to the current -category; with one prefix argument (`C-u'), prompt for a category -from the current todo file; with two prefix arguments (`C-u -C-u'), first prompt for a todo file, then a category in that +category; with one prefix argument (\\[universal-argument]), prompt for a category +from the current todo file; with two prefix arguments (\\[universal-argument] +\\[universal-argument]), first prompt for a todo file, then a category in that file. If a non-existing category is entered, ask whether to add it to the todo file; if answered affirmatively, add the category and insert the item there. @@ -3969,14 +3969,14 @@ See `todo-set-top-priorities' for more details." The categories can be any of those in the current todo file. With numerical prefix ARG show at most ARG top priority items -from each category. With `C-u' as prefix argument show the +from each category. With \\[universal-argument] as prefix argument show the numbers of top priority items specified by category in `todo-top-priorities-overrides', if this has an entry for the file(s); otherwise show `todo-top-priorities' items per category in the file(s). With no prefix argument, if a top priorities file for the current todo file has previously been saved (see `todo-save-filtered-items-buffer'), visit this file; if there is -no such file, build the list as with prefix argument `C-u'. +no such file, build the list as with prefix argument \\[universal-argument]. The prefix ARG regulates how many top priorities from each category to show, as described above." @@ -3990,14 +3990,14 @@ in `todo-filter-files', or if this nil, in the files chosen from a file selection dialog that pops up in this case. With numerical prefix ARG show at most ARG top priority items -from each category in each file. With `C-u' as prefix argument +from each category in each file. With \\[universal-argument] as prefix argument show the numbers of top priority items specified in `todo-top-priorities-overrides', if this is non-nil; otherwise show `todo-top-priorities' items per category. With no prefix argument, if a top priorities file for the chosen todo files exists (see `todo-save-filtered-items-buffer'), visit this file; if there is no such file, do the same as with prefix argument -`C-u'." +\\[universal-argument]." (interactive "P") (todo-filter-items 'top arg t)) diff --git a/lisp/dired-x.el b/lisp/dired-x.el index 380e47786fc..9f9f1701730 100644 --- a/lisp/dired-x.el +++ b/lisp/dired-x.el @@ -340,8 +340,8 @@ A `.' is automatically prepended to EXTENSION when not present. EXTENSION may also be a list of extensions instead of a single one. Optional MARKER-CHAR is marker to use. Interactively, ask for EXTENSION. -Prefixed with one C-u, unmark files instead. -Prefixed with two C-u's, prompt for MARKER-CHAR and mark files with it." +Prefixed with one \\[universal-argument], unmark files instead. +Prefixed with two \\[universal-argument]'s, prompt for MARKER-CHAR and mark files with it." (interactive (dired--mark-suffix-interactive-spec)) (unless (listp extension) (setq extension (list extension))) @@ -365,8 +365,8 @@ prepends `.' when not present. SUFFIX may also be a list of suffixes instead of a single one. Optional MARKER-CHAR is marker to use. Interactively, ask for SUFFIX. -Prefixed with one C-u, unmark files instead. -Prefixed with two C-u's, prompt for MARKER-CHAR and mark files with it." +Prefixed with one \\[universal-argument], unmark files instead. +Prefixed with two \\[universal-argument]'s, prompt for MARKER-CHAR and mark files with it." (interactive (dired--mark-suffix-interactive-spec)) (unless (listp suffix) (setq suffix (list suffix))) diff --git a/lisp/eshell/eshell.el b/lisp/eshell/eshell.el index 35153675faa..c66ad000722 100644 --- a/lisp/eshell/eshell.el +++ b/lisp/eshell/eshell.el @@ -240,7 +240,7 @@ session. Return the buffer selected (or created). With a nonnumeric prefix arg, create a new session. -With a numeric prefix arg (as in `C-u 42 M-x eshell RET'), switch +With a numeric prefix arg (as in `\\[universal-argument] 42 \\[eshell]'), switch to the session with that number, or create it if it doesn't already exist. diff --git a/lisp/gnus/gnus-group.el b/lisp/gnus/gnus-group.el index c1b46d6e9ed..bedae0f564f 100644 --- a/lisp/gnus/gnus-group.el +++ b/lisp/gnus/gnus-group.el @@ -4421,9 +4421,9 @@ group." (defun gnus-group-find-new-groups (&optional arg) "Search for new groups and add them. Each new group will be treated with `gnus-subscribe-newsgroup-method'. -With 1 C-u, use the `ask-server' method to query the server for new +With 1 \\[universal-argument], use the `ask-server' method to query the server for new groups. -With 2 C-u's, use most complete method possible to query the server +With 2 \\[universal-argument]'s, use most complete method possible to query the server for new groups, and subscribe the new groups as zombies." (interactive "p" gnus-group-mode) (let ((new-groups (gnus-find-new-newsgroups (or arg 1))) diff --git a/lisp/gnus/gnus-start.el b/lisp/gnus/gnus-start.el index 1c2e9ebd919..e32cfc0d61a 100644 --- a/lisp/gnus/gnus-start.el +++ b/lisp/gnus/gnus-start.el @@ -1068,9 +1068,9 @@ If no function returns `non-nil', call `gnus-subscribe-zombies'." Each new newsgroup will be treated with `gnus-subscribe-newsgroup-method'. The `-n' option line from .newsrc is respected. -With 1 C-u, use the `ask-server' method to query the server for new +With 1 \\[universal-argument], use the `ask-server' method to query the server for new groups. -With 2 C-u's, use most complete method possible to query the server +With 2 \\[universal-argument]'s, use most complete method possible to query the server for new groups, and subscribe the new groups as zombies." (interactive "p" gnus-group-mode) (let* ((gnus-subscribe-newsgroup-method diff --git a/lisp/gnus/gnus-sum.el b/lisp/gnus/gnus-sum.el index f17bb11e6a9..2ddd3d2a7e0 100644 --- a/lisp/gnus/gnus-sum.el +++ b/lisp/gnus/gnus-sum.el @@ -9839,11 +9839,11 @@ article currently." "Force redisplaying of the current article. If ARG (the prefix) is a number, show the article with the charset defined in `gnus-summary-show-article-charset-alist', or the charset -input. +input.\\ If ARG (the prefix) is non-nil and not a number, show the article, but without running any of the article treatment functions -article. Normally, the keystroke is `C-u g'. When using `C-u -C-u g', show the raw article." +article. Normally, the keystroke is `\\[universal-argument] \\[gnus-summary-show-article]'. When using `\\[universal-argument] +\\[universal-argument] \\[gnus-summary-show-article]', show the raw article." (interactive "P" gnus-summary-mode) (cond ((numberp arg) diff --git a/lisp/gnus/gnus.el b/lisp/gnus/gnus.el index 0505e33cb6e..7c983344de8 100644 --- a/lisp/gnus/gnus.el +++ b/lisp/gnus/gnus.el @@ -1114,7 +1114,7 @@ that case, just return a fully prefixed name of the group -- (defcustom gnus-secondary-servers nil "List of NNTP servers that the user can choose between interactively. To make Gnus query you for a server, you have to give `gnus' a -non-numeric prefix - `C-u M-x gnus', in short." +non-numeric prefix - `\\[universal-argument] \\[gnus]', in short." :group 'gnus-server :type '(repeat string)) (make-obsolete-variable 'gnus-secondary-servers 'gnus-select-method "24.1") diff --git a/lisp/ldefs-boot.el b/lisp/ldefs-boot.el index 586e4233c51..9cd5c9bfa84 100644 --- a/lisp/ldefs-boot.el +++ b/lisp/ldefs-boot.el @@ -1592,7 +1592,7 @@ For example: `6 9 a' inserts 69 `a's into the buffer. `6 9 \\[autoarg-terminate] \\[autoarg-terminate]' inserts `69' into the buffer and then invokes the normal binding of \\[autoarg-terminate]. -`C-u \\[autoarg-terminate]' invokes the normal binding of \\[autoarg-terminate] four times. +`\\[universal-argument] \\[autoarg-terminate]' invokes the normal binding of \\[autoarg-terminate] four times. \\{autoarg-mode-map} diff --git a/lisp/org/org-timer.el b/lisp/org/org-timer.el index 852d18579a4..e2116be701a 100644 --- a/lisp/org/org-timer.el +++ b/lisp/org/org-timer.el @@ -400,16 +400,16 @@ prompt the user if she wants to replace it. Called with a numeric prefix argument, use this numeric value as the duration of the timer in minutes. -Called with a `C-u' prefix arguments, use `org-timer-default-timer' +Called with a \\[universal-argument] prefix arguments, use `org-timer-default-timer' without prompting the user for a duration. -With two `C-u' prefix arguments, use `org-timer-default-timer' +With two \\[universal-argument] prefix arguments, use `org-timer-default-timer' without prompting the user for a duration and automatically replace any running timer. By default, the timer duration will be set to the number of minutes in the Effort property, if any. You can ignore this by -using three `C-u' prefix arguments." +using three \\[universal-argument] prefix arguments." (interactive "P") (when (and org-timer-start-time (not org-timer-countdown-timer)) diff --git a/lisp/org/ox.el b/lisp/org/ox.el index 36ecf014830..d412f57360a 100644 --- a/lisp/org/ox.el +++ b/lisp/org/ox.el @@ -294,7 +294,7 @@ and its CDR is a list of export options.") (defvar org-export-dispatch-last-position (make-marker) "The position where the last export command was created using the dispatcher. -This marker will be used with `C-u C-c C-e' to make sure export repetition +This marker will be used with `\\[universal-argument] C-c C-e' to make sure export repetition uses the same subtree if the previous command was restricted to a subtree.") ;; For compatibility with Org < 8 diff --git a/lisp/printing.el b/lisp/printing.el index 32ff51a511f..89e49ccb2a4 100644 --- a/lisp/printing.el +++ b/lisp/printing.el @@ -3476,7 +3476,7 @@ For more information, type \\[pr-interface-help]." "Preview directory using ghostview. Interactively, the command prompts for N-UP printing number, a directory, a -file name regexp for matching and, when you use a prefix argument (C-u), the +file name regexp for matching and, when you use a prefix argument (\\[universal-argument]), the command prompts the user for a file name, and saves the PostScript image in that file instead of saving it in a temporary file. @@ -3505,7 +3505,7 @@ See also documentation for `pr-list-directory'." "Print directory using PostScript through ghostscript. Interactively, the command prompts for N-UP printing number, a directory, a -file name regexp for matching and, when you use a prefix argument (C-u), the +file name regexp for matching and, when you use a prefix argument (\\[universal-argument]), the command prompts the user for a file name, and saves the PostScript image in that file instead of saving it in a temporary file. @@ -3535,7 +3535,7 @@ See also documentation for `pr-list-directory'." "Print directory using PostScript printer. Interactively, the command prompts for N-UP printing number, a directory, a -file name regexp for matching and, when you use a prefix argument (C-u), the +file name regexp for matching and, when you use a prefix argument (\\[universal-argument]), the command prompts the user for a file name, and saves the PostScript image in that file instead of saving it in a temporary file. @@ -3567,7 +3567,7 @@ See also documentation for `pr-list-directory'." It depends on `pr-print-using-ghostscript'. Interactively, the command prompts for N-UP printing number, a directory, a -file name regexp for matching and, when you use a prefix argument (C-u), the +file name regexp for matching and, when you use a prefix argument (\\[universal-argument]), the command prompts the user for a file name, and saves the PostScript image in that file instead of saving it in a temporary file. @@ -3598,7 +3598,7 @@ See also documentation for `pr-list-directory'." "Preview buffer using ghostview. Interactively, the command prompts for N-UP printing number and, when you use a -prefix argument (C-u), the command prompts the user for a file name, and saves +prefix argument (\\[universal-argument]), the command prompts the user for a file name, and saves the PostScript image in that file instead of saving it in a temporary file. Noninteractively, if N-UP is nil, prompts for N-UP printing number. The @@ -3617,7 +3617,7 @@ with that name. If FILENAME is t, prompts for a file name." "Print buffer using PostScript through ghostscript. Interactively, the command prompts for N-UP printing number and, when you use a -prefix argument (C-u), the command prompts the user for a file name, and saves +prefix argument (\\[universal-argument]), the command prompts the user for a file name, and saves the PostScript image in that file instead of sending it to the printer. Noninteractively, if N-UP is nil, prompts for N-UP printing number. The @@ -3636,7 +3636,7 @@ that name. If FILENAME is t, prompts for a file name." "Print buffer using PostScript printer. Interactively, the command prompts for N-UP printing number and, when you use a -prefix argument (C-u), the command prompts the user for a file name, and saves +prefix argument (\\[universal-argument]), the command prompts the user for a file name, and saves the PostScript image in that file instead of sending it to the printer. Noninteractively, if N-UP is nil, prompts for N-UP printing number. The @@ -3657,7 +3657,7 @@ that name. If FILENAME is t, prompts for a file name." It depends on `pr-print-using-ghostscript'. Interactively, the command prompts for N-UP printing number and, when you use a -prefix argument (C-u), the command prompts the user for a file name, and saves +prefix argument (\\[universal-argument]), the command prompts the user for a file name, and saves the PostScript image in that file instead of sending it to the printer. Noninteractively, if N-UP is nil, prompts for N-UP printing number. The @@ -3877,7 +3877,7 @@ See also documentation for `pr-list-directory'." (defun pr-despool-preview (&optional filename) "Preview spooled PostScript. -Interactively, when you use a prefix argument (C-u), the command prompts the +Interactively, when you use a prefix argument (\\[universal-argument]), the command prompts the user for a file name, and saves the spooled PostScript image in that file instead of saving it in a temporary file. @@ -3895,7 +3895,7 @@ PostScript image in a file with that name." (defun pr-despool-using-ghostscript (&optional filename) "Print spooled PostScript using ghostscript. -Interactively, when you use a prefix argument (C-u), the command prompts the +Interactively, when you use a prefix argument (\\[universal-argument]), the command prompts the user for a file name, and saves the spooled PostScript image in that file instead of sending it to the printer. @@ -3914,7 +3914,7 @@ image in a file with that name." (defun pr-despool-print (&optional filename) "Send the spooled PostScript to the printer. -Interactively, when you use a prefix argument (C-u), the command prompts the +Interactively, when you use a prefix argument (\\[universal-argument]), the command prompts the user for a file name, and saves the spooled PostScript image in that file instead of sending it to the printer. @@ -3934,7 +3934,7 @@ image in a file with that name." (defun pr-despool-ps-print (&optional filename) "Send the spooled PostScript to the printer or use ghostscript to print it. -Interactively, when you use a prefix argument (C-u), the command prompts the +Interactively, when you use a prefix argument (\\[universal-argument]), the command prompts the user for a file name, and saves the spooled PostScript image in that file instead of sending it to the printer. @@ -4035,7 +4035,7 @@ image in a file with that name." "Process a PostScript file IFILENAME and send it to printer. Interactively, the command prompts for N-UP printing number, for an input -PostScript file IFILENAME and, when you use a prefix argument (C-u), the +PostScript file IFILENAME and, when you use a prefix argument (\\[universal-argument]), the command prompts the user for an output PostScript file name OFILENAME, and saves the PostScript image in that file instead of sending it to the printer. @@ -4280,18 +4280,18 @@ Interactively, you have the following situations: The command prompts the user for a N-UP value and printing will immediately be done using the current active printer. - C-u M-x pr-ps-fast-fire RET - C-u 0 M-x pr-ps-fast-fire RET + \\[universal-argument] \\[pr-ps-fast-fire] + \\[universal-argument] 0 \\[pr-ps-fast-fire] The command prompts the user for a N-UP value and also for a current PostScript printer, then printing will immediately be done using the new current active printer. - C-u 1 M-x pr-ps-fast-fire RET + \\[universal-argument] 1 \\[pr-ps-fast-fire] The command prompts the user for a N-UP value and also for a file name, and saves the PostScript image in that file instead of sending it to the printer. - C-u 2 M-x pr-ps-fast-fire RET + \\[universal-argument] 2 \\[pr-ps-fast-fire] The command prompts the user for a N-UP value, then for a current PostScript printer and, finally, for a file name. Then change the active printer to that chosen by user and saves the PostScript image in @@ -4360,7 +4360,7 @@ Also if the current major-mode is defined in `pr-mode-alist', the settings in `pr-mode-alist' will be used, that is, the current buffer or region will be printed using `pr-txt-mode'. -Interactively, when you use a prefix argument (C-u), the command prompts the +Interactively, when you use a prefix argument (\\[universal-argument]), the command prompts the user for a new active text printer. Noninteractively, the argument SELECT-PRINTER is treated as follows: diff --git a/lisp/progmodes/idlwave.el b/lisp/progmodes/idlwave.el index ce984d32b53..374876d5b4c 100644 --- a/lisp/progmodes/idlwave.el +++ b/lisp/progmodes/idlwave.el @@ -5727,10 +5727,10 @@ Possible values are: 8 <=> `function-method-keyword' 9 <=> `class' -As a special case, the universal argument C-u forces completion of +As a special case, the universal argument \\[universal-argument] forces completion of function names in places where the default would be a keyword. -Two prefix argument, C-u C-u, prompts for a regexp by which to limit +Two prefix argument, \\[universal-argument] \\[universal-argument], prompts for a regexp by which to limit completion. For Lisp programmers only: diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el index 201d1fd1647..cccd70f06cc 100644 --- a/lisp/progmodes/sh-script.el +++ b/lisp/progmodes/sh-script.el @@ -2193,7 +2193,7 @@ Point should be before the newline." When used interactively, insert the proper starting #!-line, and make the visited file executable via `executable-set-magic', perhaps querying depending on the value of `executable-query'. -(If given a prefix (i.e., `C-u') don't insert any starting #! +(If given a prefix (i.e., `\\[universal-argument]') don't insert any starting #! line.) When this function is called noninteractively, INSERT-FLAG (the third diff --git a/lisp/replace.el b/lisp/replace.el index dfb0a63d1af..e4155d4c27a 100644 --- a/lisp/replace.el +++ b/lisp/replace.el @@ -1760,7 +1760,7 @@ If REGEXP contains upper case characters (excluding those preceded by `\\') and `search-upper-case' is non-nil, the matching is case-sensitive. When NLINES is a string or when the function is called -interactively with prefix argument without a number (`C-u' alone +interactively with prefix argument without a number (\\[universal-argument] alone as prefix) the matching strings are collected into the `*Occur*' buffer by using NLINES as a replacement regexp. NLINES may contain \\& and \\N which convention follows `replace-match'. diff --git a/lisp/ses.el b/lisp/ses.el index b831cbb5486..9250f7ede0f 100644 --- a/lisp/ses.el +++ b/lisp/ses.el @@ -3124,13 +3124,13 @@ Otherwise the text is inserted as the formula for the current cell. When inserting cells, the formulas are usually relocated to keep the same relative references to neighboring cells. This is best if the formulas -generally refer to other cells within the yanked text. You can use the C-u +generally refer to other cells within the yanked text. You can use the \\[universal-argument] prefix to specify insertion without relocation, which is best when the formulas refer to cells outside the yanked text. When inserting formulas, the text is treated as a string constant if it doesn't make sense as a sexp or would otherwise be considered a symbol. Use `sym' to -explicitly insert a symbol, or use the C-u prefix to treat all unmarked words +explicitly insert a symbol, or use the \\[universal-argument] prefix to treat all unmarked words as symbols." (if (not (and (derived-mode-p 'ses-mode) (eq (get-text-property (point) 'keymap) 'ses-mode-print-map))) diff --git a/lisp/simple.el b/lisp/simple.el index 13a0d2196a3..1267c92fe54 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -6511,13 +6511,13 @@ Display `Mark set' unless the optional second arg NOMSG is non-nil." (defcustom set-mark-command-repeat-pop nil "Non-nil means repeating \\[set-mark-command] after popping mark pops it again. -That means that C-u \\[set-mark-command] \\[set-mark-command] +That means that \\[universal-argument] \\[set-mark-command] \\[set-mark-command] will pop the mark twice, and -C-u \\[set-mark-command] \\[set-mark-command] \\[set-mark-command] +\\[universal-argument] \\[set-mark-command] \\[set-mark-command] \\[set-mark-command] will pop the mark three times. A value of nil means \\[set-mark-command]'s behavior does not change -after C-u \\[set-mark-command]." +after \\[universal-argument] \\[set-mark-command]." :type 'boolean :group 'editing-basics) diff --git a/lisp/sort.el b/lisp/sort.el index 72df83aaffc..be373fba99b 100644 --- a/lisp/sort.el +++ b/lisp/sort.el @@ -587,16 +587,16 @@ is the one that ends before END." Non-interactively, arguments BEG and END delimit the region. Normally it searches forwards, keeping the first instance of each identical line. If REVERSE is non-nil (interactively, with -a C-u prefix), it searches backwards and keeps the last instance of +a \\[universal-argument] prefix), it searches backwards and keeps the last instance of each repeated line. Identical lines need not be adjacent, unless the argument -ADJACENT is non-nil (interactively, with a C-u C-u prefix). +ADJACENT is non-nil (interactively, with a \\[universal-argument] \\[universal-argument] prefix). This is a more efficient mode of operation, and may be useful on large regions that have already been sorted. If the argument KEEP-BLANKS is non-nil (interactively, with a -C-u C-u C-u prefix), it retains repeated blank lines. +\\[universal-argument] \\[universal-argument] \\[universal-argument] prefix), it retains repeated blank lines. Returns the number of deleted lines. Interactively, or if INTERACTIVE is non-nil, it also prints a message describing the number of deletions." diff --git a/lisp/strokes.el b/lisp/strokes.el index 18595cb0947..91ddefd3738 100644 --- a/lisp/strokes.el +++ b/lisp/strokes.el @@ -928,13 +928,13 @@ cycle can continue. To toggle strokes-mode, invoke the command -> M-x strokes-mode +> \\[strokes-mode] ** Strokes for controlling the behavior of Emacs... When you're ready to start defining strokes, just use the command -> M-x strokes-global-set-stroke +> \\[strokes-global-set-stroke] You will see a ` *strokes*' buffer which is waiting for you to enter in your stroke. When you enter in the stroke, you draw with button 1 or @@ -943,7 +943,7 @@ which will be executed when that stroke is invoked. Simple as that. For now, try to define a stroke to copy a region. This is a popular edit command, so type -> M-x strokes-global-set-stroke +> \\[strokes-global-set-stroke] Then, in the ` *strokes*' buffer, draw the letter `C' (for `copy') and then, when it asks you to enter the command to map that to, type @@ -955,7 +955,7 @@ Remember: paint with button 1 or button 2 and then end with button 3. If ever you want to know what a certain strokes maps to, then do -> M-x strokes-describe-stroke +> \\[strokes-describe-stroke] and you can enter in any arbitrary stroke. Remember: The strokes package lets you program in simple and complex (multi-lift) strokes. @@ -967,12 +967,12 @@ will invoke the command `strokes-do-stroke'. If ever you define a stroke which you don't like, then you can unset it with the command -> M-x strokes-unset-last-stroke +> \\[strokes-unset-last-stroke] You can always get an idea of what your current strokes look like with the command -> M-x strokes-list-strokes +> \\[strokes-list-strokes] Your strokes will be displayed in alphabetical order (based on command names) and the beginning of each simple stroke will be marked by a @@ -981,19 +981,19 @@ stroke, the dot colors are arranged in the rainbow color sequence, `ROYGBIV'. If you want a listing of your strokes from most recent down, then use a prefix argument: -> C-u M-x strokes-list-strokes +> \\[universal-argument] \\[strokes-list-strokes] Your strokes are stored as you enter them. They get saved into the file specified by the `strokes-file' variable, along with other strokes configuration variables. You will be prompted to save them when you exit Emacs, or you can save them with -> M-x strokes-prompt-user-save-strokes +> \\[strokes-prompt-user-save-strokes] Your strokes get loaded automatically when you enable `strokes-mode'. You can also load in your user-defined strokes with -> M-x strokes-load-user-strokes +> \\[strokes-load-user-strokes] ** Strokes for pictographic editing... @@ -1006,11 +1006,11 @@ into the buffer. You treat it somewhat like any other character, which you can copy, paste, delete, move, etc. When all is done, you may want to send the file, or save it. This is done with -> M-x strokes-encode-buffer +> \\[strokes-encode-buffer] Likewise, to decode the strokes from a strokes-encoded buffer you do -> M-x strokes-decode-buffer +> \\[strokes-decode-buffer] ** A few more important things... diff --git a/lisp/textmodes/artist.el b/lisp/textmodes/artist.el index 5e706327edc..c42286e5bc3 100644 --- a/lisp/textmodes/artist.el +++ b/lisp/textmodes/artist.el @@ -1277,7 +1277,7 @@ Drawing with keys \\[artist-key-set-point] Does one of the following: For lines/rectangles/squares: sets the first/second endpoint - For poly-lines: sets a point (use C-u \\[artist-key-set-point] to set last point) + For poly-lines: sets a point (use \\[universal-argument] \\[artist-key-set-point] to set last point) When erase characters: toggles erasing When cutting/copying: Sets first/last endpoint of rect/square When pasting: Pastes diff --git a/lisp/textmodes/reftex-cite.el b/lisp/textmodes/reftex-cite.el index 4ca0a5bba82..8a54b1a301f 100644 --- a/lisp/textmodes/reftex-cite.el +++ b/lisp/textmodes/reftex-cite.el @@ -628,7 +628,7 @@ If NO-INSERT is non-nil, nothing is inserted, only the selected key returned. FORMAT-KEY can be used to pre-select a citation format. -When called with a `C-u' prefix, prompt for optional arguments in +When called with a \\[universal-argument] prefix, prompt for optional arguments in cite macros. When called with a numeric prefix, make that many citations. When called with point inside the braces of a `\\cite' command, it will add another key, ignoring the value of diff --git a/lisp/textmodes/reftex-dcr.el b/lisp/textmodes/reftex-dcr.el index a21dd3362b0..abcf119fb82 100644 --- a/lisp/textmodes/reftex-dcr.el +++ b/lisp/textmodes/reftex-dcr.el @@ -42,7 +42,7 @@ which uses this KEY. When on an `\\index', show other locations marked by the same index entry. To define additional cross referencing items, use the option `reftex-view-crossref-extra'. See also `reftex-view-crossref-from-bibtex'. -With one or two C-u prefixes, enforce rescanning of the document. +With one or two \\[universal-argument] prefixes, enforce rescanning of the document. With argument 2, select the window showing the cross reference. AUTO-HOW is only for the automatic crossref display and is handed through to the functions `reftex-view-cr-cite' and `reftex-view-cr-ref'." diff --git a/lisp/textmodes/reftex-index.el b/lisp/textmodes/reftex-index.el index cba514ea550..a6df4fb7afb 100644 --- a/lisp/textmodes/reftex-index.el +++ b/lisp/textmodes/reftex-index.el @@ -38,8 +38,8 @@ "Put selection or the word near point into the default index macro. This uses the information in `reftex-index-default-macro' to make an index entry. The phrase indexed is the current selection or the word near point. -When called with one `C-u' prefix, let the user have a chance to edit the -index entry. When called with 2 `C-u' as prefix, also ask for the index +When called with one \\[universal-argument] prefix, let the user have a chance to edit the +index entry. When called with 2 \\[universal-argument] as prefix, also ask for the index macro and other stuff. When called inside TeX math mode as determined by the `texmathp.el' library which is part of AUCTeX, the string is first processed with the @@ -462,7 +462,7 @@ _ ^ Add/Remove parent key (to make this item a subitem). "Display a buffer with an index compiled from the current document. When the document has multiple indices, first prompts for the correct one. When index support is turned off, offer to turn it on. -With one or two `C-u' prefixes, rescan document first. +With one or two \\[universal-argument] prefixes, rescan document first. With prefix 2, restrict index to current document section. With prefix 3, restrict index to region." diff --git a/lisp/textmodes/reftex-ref.el b/lisp/textmodes/reftex-ref.el index 19081825931..9d5bc5a8f0f 100644 --- a/lisp/textmodes/reftex-ref.el +++ b/lisp/textmodes/reftex-ref.el @@ -415,7 +415,7 @@ reftex-label. Rescanning of the buffer can also be requested from the label selection menu. The function returns the selected label or nil. If NO-INSERT is non-nil, do not insert \\ref command, just return label. -When called with 2 C-u prefix args, disable magic word recognition." +When called with 2 \\[universal-argument] prefix args, disable magic word recognition." (interactive) diff --git a/lisp/textmodes/reftex-toc.el b/lisp/textmodes/reftex-toc.el index b5643491338..7ca2fb827e8 100644 --- a/lisp/textmodes/reftex-toc.el +++ b/lisp/textmodes/reftex-toc.el @@ -180,7 +180,7 @@ z Jump to a specific section (e.g. '3 z' goes to section 3).") (defun reftex-toc (&optional _rebuild reuse) ;; FIXME: Get rid of the `rebuild' argument. "Show the table of contents for the current document. -When called with a raw C-u prefix, rescan the document first." +When called with a raw \\[universal-argument] prefix, rescan the document first." ;; The REUSE argument means, search all visible frames for a window ;; displaying the toc window. If yes, reuse this window. diff --git a/lisp/textmodes/reftex-vars.el b/lisp/textmodes/reftex-vars.el index 19b40e6ce2f..23f2193501d 100644 --- a/lisp/textmodes/reftex-vars.el +++ b/lisp/textmodes/reftex-vars.el @@ -1292,7 +1292,7 @@ prompt for values. Possible values are: nil Never prompt for optional arguments t Always prompt -maybe Prompt only if `reftex-citation' was called with C-u prefix arg +maybe Prompt only if `reftex-citation' was called with \\[universal-argument] prefix arg Unnecessary empty optional arguments are removed before insertion into the buffer. See `reftex-cite-cleanup-optional-args'." @@ -1861,11 +1861,11 @@ of the regular expressions in this list, that file is not parsed by RefTeX." (defcustom reftex-enable-partial-scans nil "Non-nil means, re-parse only 1 file when asked to re-parse. -Re-parsing is normally requested with a `C-u' prefix to many RefTeX commands, +Re-parsing is normally requested with a \\[universal-argument] prefix to many RefTeX commands, or with the `r' key in menus. When this option is t in a multifile document, we will only parse the current buffer, or the file associated with the label or section heading near point in a menu. Requesting re-parsing of an entire -multifile document then requires a `C-u C-u' prefix or the capital `R' key +multifile document then requires a \\[universal-argument] \\[universal-argument] prefix or the capital `R' key in menus." :group 'reftex-optimizations-for-large-documents :type 'boolean) diff --git a/lisp/textmodes/texnfo-upd.el b/lisp/textmodes/texnfo-upd.el index f56f197c502..843bbb2bca7 100644 --- a/lisp/textmodes/texnfo-upd.el +++ b/lisp/textmodes/texnfo-upd.el @@ -894,10 +894,10 @@ be updated first using `texinfo-make-menu' or `texinfo-all-menus-update', which see. Alternatively, invoke this function with a prefix argument, see below. -Non-nil, non-numeric argument (C-u prefix, if interactive) means +Non-nil, non-numeric argument (\\[universal-argument] prefix, if interactive) means first update all existing menus in the buffer (incorporating descriptions from pre-existing menus) before it constructs the -master menu. If the argument is numeric (e.g., \"C-u 2\"), +master menu. If the argument is numeric (e.g., \"\\[universal-argument] 2\"), update all existing nodes as well, by calling `texinfo-update-node' on the entire file. Warning: do NOT invoke with a numeric argument if your Texinfo file uses @node diff --git a/lisp/windmove.el b/lisp/windmove.el index bb0ece7cbae..658e59af198 100644 --- a/lisp/windmove.el +++ b/lisp/windmove.el @@ -525,7 +525,7 @@ to decide what window it selects. With other non-nil values of `windmove-display-no-select', this function reselects a previously selected old window. -If prefix ARG is `C-u', reselect a previously selected old window. +If prefix ARG is \\[universal-argument], reselect a previously selected old window. If `windmove-display-no-select' is non-nil, the meaning of the prefix argument is reversed and it selects the new window. @@ -662,7 +662,7 @@ from the opposite side of the frame." ;;;###autoload (defun windmove-delete-left (&optional arg) "Delete the window to the left of the current one. -If prefix ARG is `C-u', delete the selected window and +If prefix ARG is \\[universal-argument], delete the selected window and select the window that was to the left of the current one." (interactive "P") (windmove-delete-in-direction 'left arg)) @@ -670,7 +670,7 @@ select the window that was to the left of the current one." ;;;###autoload (defun windmove-delete-up (&optional arg) "Delete the window above the current one. -If prefix ARG is `C-u', delete the selected window and +If prefix ARG is \\[universal-argument], delete the selected window and select the window that was above the current one." (interactive "P") (windmove-delete-in-direction 'up arg)) @@ -678,7 +678,7 @@ select the window that was above the current one." ;;;###autoload (defun windmove-delete-right (&optional arg) "Delete the window to the right of the current one. -If prefix ARG is `C-u', delete the selected window and +If prefix ARG is \\[universal-argument], delete the selected window and select the window that was to the right of the current one." (interactive "P") (windmove-delete-in-direction 'right arg)) @@ -686,7 +686,7 @@ select the window that was to the right of the current one." ;;;###autoload (defun windmove-delete-down (&optional arg) "Delete the window below the current one. -If prefix ARG is `C-u', delete the selected window and +If prefix ARG is \\[universal-argument], delete the selected window and select the window that was below the current one." (interactive "P") (windmove-delete-in-direction 'down arg)) diff --git a/lisp/window.el b/lisp/window.el index a25da0ff1b7..b240b16f247 100644 --- a/lisp/window.el +++ b/lisp/window.el @@ -9770,7 +9770,7 @@ tool-bar's height to the minimum height needed); if `recenter-redisplay' has the special value `tty', then only tty frames are redrawn. -Just C-u as prefix means put point in the center of the window +Just \\[universal-argument] as prefix means put point in the center of the window and redisplay normally--don't erase and redraw the frame." (if (functionp recenter-window-group-function) (funcall recenter-window-group-function arg) @@ -9899,7 +9899,7 @@ With plain \\[universal-argument], move current line to window center." A prefix argument is handled like `recenter': With numeric prefix ARG, move current line to window-line ARG. - With plain `C-u', move current line to window center." + With plain \\[universal-argument], move current line to window center." (interactive "P") (with-selected-window (other-window-for-scrolling) (recenter-top-bottom arg) -- cgit v1.2.1