260 |
;;; Command Query |
;;; Command Query |
261 |
|
|
262 |
(defun TeX-command (name file &optional override-confirm) |
(defun TeX-command (name file &optional override-confirm) |
263 |
"Run command NAME on the file you get by calling FILE. |
"Run command NAME on the file returned by calling FILE. |
264 |
|
|
265 |
FILE is a function return a file name. It has one optional argument, |
FILE is the symbol of a function returning a file name. The |
266 |
the extension to use on the file. |
function has one optional argument, the extension to use on the |
267 |
Use the information in `TeX-command-list' to determine how to run the |
file. |
268 |
command. If OVERRIDE-CONFIRM is a prefix argument, confirmation will be |
|
269 |
|
Use the information in `TeX-command-list' to determine how to run |
270 |
|
the command. |
271 |
|
|
272 |
|
If OVERRIDE-CONFIRM is a prefix argument, confirmation will be |
273 |
asked if it is positive, and suppressed if it is not." |
asked if it is positive, and suppressed if it is not." |
274 |
(cond ((eq file 'TeX-region-file) |
(cond ((eq file 'TeX-region-file) |
275 |
(setq TeX-current-process-region-p t)) |
(setq TeX-current-process-region-p t)) |