diff options
author | Stefan Kangas <stefan@marxist.se> | 2021-09-16 20:05:48 +0200 |
---|---|---|
committer | Stefan Kangas <stefan@marxist.se> | 2021-09-16 20:05:48 +0200 |
commit | 3f9f3ba4370bd4d0f33392befb35328327d73b1e (patch) | |
tree | 0165eacc2e0ae73c893aedf4bba2d0904e895ca8 /lisp/calendar/todo-mode.el | |
parent | 63f419f1339cbd0a7d1e64586854a4f01b3f80d1 (diff) | |
download | emacs-3f9f3ba4370bd4d0f33392befb35328327d73b1e.tar.gz |
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".
Diffstat (limited to 'lisp/calendar/todo-mode.el')
-rw-r--r-- | lisp/calendar/todo-mode.el | 14 |
1 files changed, 7 insertions, 7 deletions
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)) |