summaryrefslogtreecommitdiff
path: root/lisp/bindings.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1999-04-09 19:22:42 +0000
committerRichard M. Stallman <rms@gnu.org>1999-04-09 19:22:42 +0000
commit364581dc9591f729210c1fbfc9d6fe8bad41ccd6 (patch)
tree1b4426446d6f47d9b6db6c95c09cb939bfa8ea86 /lisp/bindings.el
parentf87740dccbc3b62d5a588dba5cdf5eff2a00d2f0 (diff)
downloademacs-364581dc9591f729210c1fbfc9d6fe8bad41ccd6.tar.gz
(complete-symbol): Invert meaning of prefix arg.
Diffstat (limited to 'lisp/bindings.el')
-rw-r--r--lisp/bindings.el18
1 files changed, 11 insertions, 7 deletions
diff --git a/lisp/bindings.el b/lisp/bindings.el
index f2f22a82490..f8aba633eea 100644
--- a/lisp/bindings.el
+++ b/lisp/bindings.el
@@ -289,15 +289,19 @@ is okay. See `mode-line-format'.")
"Perform tags completion on the text around point.
Completes to the set of names listed in the current tags table.
The string to complete is chosen in the same way as the default
-for \\[find-tag] (which see)."
+for \\[find-tag] (which see).
+
+With a prefix argument, this command does completion within
+the collection of symbols listed in the index of the manual for the
+language you are using."
(interactive "P")
(if arg
- (if (fboundp 'complete-tag)
- (complete-tag)
- ;; Don't autoload etags if we have no tags table.
- (error (substitute-command-keys
- "No tags table loaded; use \\[visit-tags-table] to load one")))
- (info-complete-symbol)))
+ (info-complete-symbol)
+ (if (fboundp 'complete-tag)
+ (complete-tag)
+ ;; Don't autoload etags if we have no tags table.
+ (error (substitute-command-keys
+ "No tags table loaded; use \\[visit-tags-table] to load one")))))
;; Reduce total amount of space we must allocate during this function
;; that we will not need to keep permanently.