changeset 24606:6f29d3fe8aa5

(complete-symbol): Invert meaning of prefix arg.
author Richard M. Stallman <rms@gnu.org>
date Fri, 09 Apr 1999 19:22:42 +0000
parents f378efa4aa8a
children 1ceb1e45b10d
files lisp/bindings.el
diffstat 1 files changed, 11 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/bindings.el	Fri Apr 09 19:21:52 1999 +0000
+++ b/lisp/bindings.el	Fri Apr 09 19:22:42 1999 +0000
@@ -289,15 +289,19 @@
   "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.