4231 |
|
|
4232 |
|
|
4233 |
(defvar idlwave-load-rinfo-idle-timer) |
(defvar idlwave-load-rinfo-idle-timer) |
4234 |
(defun idlwave-update-routine-info (&optional arg) |
(defun idlwave-update-routine-info (&optional arg dont-concentrate) |
4235 |
"Update the internal routine-info lists. |
"Update the internal routine-info lists. |
4236 |
These lists are used by `idlwave-routine-info' (\\[idlwave-routine-info]) |
These lists are used by `idlwave-routine-info' (\\[idlwave-routine-info]) |
4237 |
and by `idlwave-complete' (\\[idlwave-complete]) to provide information |
and by `idlwave-complete' (\\[idlwave-complete]) to provide information |
4248 |
When an IDL shell is running, this command also queries the IDL program |
When an IDL shell is running, this command also queries the IDL program |
4249 |
for currently compiled routines. |
for currently compiled routines. |
4250 |
|
|
4251 |
|
???Document what DONT-CONCENTRATE means??? |
4252 |
|
|
4253 |
With prefix ARG, also reload the system and library lists. |
With prefix ARG, also reload the system and library lists. |
4254 |
With two prefix ARG's, also rescans the library tree. |
With two prefix ARG's, also rescans the library tree. |
4255 |
With three prefix args, dispatch asynchronous process to do the update." |
With three prefix args, dispatch asynchronous process to do the update." |
4256 |
(interactive "P") |
(interactive "P\np") |
4257 |
;; Stop any idle processing |
;; Stop any idle processing |
4258 |
(if (or (and (fboundp 'itimerp) |
(if (or (and (fboundp 'itimerp) |
4259 |
(itimerp idlwave-load-rinfo-idle-timer)) |
(itimerp idlwave-load-rinfo-idle-timer)) |
4302 |
idlwave-query-shell-for-routine-info))) |
idlwave-query-shell-for-routine-info))) |
4303 |
|
|
4304 |
(if (or (not ask-shell) |
(if (or (not ask-shell) |
4305 |
(not (interactive-p))) |
(not dont-concentrate)) |
4306 |
;; 1. If we are not going to ask the shell, we need to do the |
;; 1. If we are not going to ask the shell, we need to do the |
4307 |
;; concatenation now. |
;; concatenation now. |
4308 |
;; 2. When this function is called non-interactively, it means |
;; 2. When this function is called non-interactively, it means |