changeset 57821:de4da107405e

(idlwave-update-routine-info): Don't use interactive-p.
author Richard M. Stallman <rms@gnu.org>
date Mon, 01 Nov 2004 07:39:44 +0000
parents 5d471cc0eaab
children 7cda0787d8cd
files lisp/progmodes/idlwave.el
diffstat 1 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/idlwave.el	Mon Nov 01 07:37:24 2004 +0000
+++ b/lisp/progmodes/idlwave.el	Mon Nov 01 07:39:44 2004 +0000
@@ -4231,7 +4231,7 @@
 
 
 (defvar idlwave-load-rinfo-idle-timer)
-(defun idlwave-update-routine-info (&optional arg)
+(defun idlwave-update-routine-info (&optional arg dont-concentrate)
   "Update the internal routine-info lists.
 These lists are used by `idlwave-routine-info' (\\[idlwave-routine-info])
 and by `idlwave-complete' (\\[idlwave-complete]) to provide information
@@ -4248,10 +4248,12 @@
 When an IDL shell is running, this command also queries the IDL program
 for currently compiled routines.
 
+???Document what DONT-CONCENTRATE means???
+
 With prefix ARG, also reload the system and library lists.
 With two prefix ARG's, also rescans the library tree.
 With three prefix args, dispatch asynchronous process to do the update."
-  (interactive "P")
+  (interactive "P\np")
   ;; Stop any idle processing
   (if (or (and (fboundp 'itimerp)
 	       (itimerp idlwave-load-rinfo-idle-timer))
@@ -4300,7 +4302,7 @@
 			     idlwave-query-shell-for-routine-info)))
 
 	(if (or (not ask-shell)
-		(not (interactive-p)))
+		(not dont-concentrate))
 	    ;; 1. If we are not going to ask the shell, we need to do the
 	    ;;    concatenation now.
 	    ;; 2. When this function is called non-interactively, it means