aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Steingold2001-02-15 21:08:24 +0000
committerSam Steingold2001-02-15 21:08:24 +0000
commit713f7b15b055e2da63cff72be48796c9dcafb198 (patch)
tree2d50b0770a16d3fed5fd4ff2367c8a1e36419ab9
parent9a47fc42375a5b9c5bad066a1ff371099fc2ab61 (diff)
downloademacs-713f7b15b055e2da63cff72be48796c9dcafb198.tar.gz
emacs-713f7b15b055e2da63cff72be48796c9dcafb198.zip
tex-shell-running: Check the process buffer too
-rw-r--r--lisp/ChangeLog31
-rw-r--r--lisp/textmodes/tex-mode.el6
2 files changed, 22 insertions, 15 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index c2a60e5d1f4..900176c0761 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12001-02-15 Sam Steingold <sds@gnu.org>
2
3 * textmodes/tex-mode.el (tex-shell-running):
4 Check the process buffer too.
5
12001-02-15 Dave Love <fx@gnu.org> 62001-02-15 Dave Love <fx@gnu.org>
2 7
3 * battery.el (battery-status-function): Fix doc, :type. 8 * battery.el (battery-status-function): Fix doc, :type.
@@ -32,7 +37,7 @@
32 37
332001-02-13 Miles Bader <miles@gnu.org> 382001-02-13 Miles Bader <miles@gnu.org>
34 39
35 * faces.el (set-face-background, set-face-foreground) 40 * faces.el (set-face-background, set-face-foreground)
36 (set-face-stipple): Treat a value of nil as being `unspecified'. 41 (set-face-stipple): Treat a value of nil as being `unspecified'.
37 42
382001-02-12 Dave Love <d.love@dl.ac.uk> 432001-02-12 Dave Love <d.love@dl.ac.uk>
@@ -52,21 +57,21 @@
52 (speedbar-buffers-line-path): Return file for tags, and dir for files. 57 (speedbar-buffers-line-path): Return file for tags, and dir for files.
53 58
542001-02-12 Michael Kifer <kifer@cs.sunysb.edu> 592001-02-12 Michael Kifer <kifer@cs.sunysb.edu>
55 60
56 * ediff-diff.el (ediff-make-diff2-buffer): Removed bogus checks 61 * ediff-diff.el (ediff-make-diff2-buffer): Removed bogus checks
57 for remote files. 62 for remote files.
58 (ediff-coding-system-for-read): Replaced the no-conversion default 63 (ediff-coding-system-for-read): Replaced the no-conversion default
59 with raw-text. 64 with raw-text.
60 65
61 * ediff-init.el: Removed :version from defcustom vars. 66 * ediff-init.el: Removed :version from defcustom vars.
62 67
63 * ediff-util.el (ediff-compute-custom-diffs-maybe): Better 68 * ediff-util.el (ediff-compute-custom-diffs-maybe): Better
64 handling of the diff mode 69 handling of the diff mode
65 70
66 * ediff.texi: Added ediff-coding-system-for-read. 71 * ediff.texi: Added ediff-coding-system-for-read.
67 72
68 * viper.texi: Fix typos. 73 * viper.texi: Fix typos.
69 74
702001-02-11 Dave Love <fx@gnu.org> 752001-02-11 Dave Love <fx@gnu.org>
71 76
72 * shadowfile.el: Doc fixes. 77 * shadowfile.el: Doc fixes.
@@ -174,7 +179,7 @@
174 179
1752001-02-06 Dave Love <fx@gnu.org> 1802001-02-06 Dave Love <fx@gnu.org>
176 181
177 * add-log.el (add-log-current-defun-function) 182 * add-log.el (add-log-current-defun-function)
178 (add-log-buffer-file-name-function, add-log-file-name-function): 183 (add-log-buffer-file-name-function, add-log-file-name-function):
179 Fix :type. 184 Fix :type.
180 (change-log-mode) <font-lock-defaults>: Set SYNTAX-BEGIN. 185 (change-log-mode) <font-lock-defaults>: Set SYNTAX-BEGIN.
@@ -220,7 +225,7 @@
220 (hi-lock-line-face-buffer): Doc fixes. 225 (hi-lock-line-face-buffer): Doc fixes.
221 (hi-lock-face-buffer): Doc fixes. 226 (hi-lock-face-buffer): Doc fixes.
222 (hi-lock-unface-buffer): Doc fixes. 227 (hi-lock-unface-buffer): Doc fixes.
223 228
2242001-02-06 Gerd Moellmann <gerd@gnu.org> 2292001-02-06 Gerd Moellmann <gerd@gnu.org>
225 230
226 * dabbrev.el (dabbrev-ignored-buffer-regexps): Renamed from 231 * dabbrev.el (dabbrev-ignored-buffer-regexps): Renamed from
@@ -296,7 +301,7 @@
296 * progmodes/f90.el (f90-mode): Remove startup message. 301 * progmodes/f90.el (f90-mode): Remove startup message.
297 302
298 * vc-cvs.el: Remove autoloads. Require vc when compiling. 303 * vc-cvs.el: Remove autoloads. Require vc when compiling.
299 304
3002001-02-01 Gerd Moellmann <gerd@gnu.org> 3052001-02-01 Gerd Moellmann <gerd@gnu.org>
301 306
302 * startup.el (command-line): Fix code determining whether or not 307 * startup.el (command-line): Fix code determining whether or not
@@ -340,7 +345,7 @@
340 * term/w32-win.el (mouse-set-font): Doc fix. 345 * term/w32-win.el (mouse-set-font): Doc fix.
341 346
3422001-01-31 Stefan Monnier <monnier@cs.yale.edu> 3472001-01-31 Stefan Monnier <monnier@cs.yale.edu>
343 348
344 * hi-lock.el (hi-lock-mode, hi-lock-line-face-buffer): Doc fix. 349 * hi-lock.el (hi-lock-mode, hi-lock-line-face-buffer): Doc fix.
345 (hi-lock-find-patterns): Turn on font-lock-mode, if it is not 350 (hi-lock-find-patterns): Turn on font-lock-mode, if it is not
346 on already. 351 on already.
@@ -349,7 +354,7 @@
349 354
350 * files.el (save-buffer): Don't give message if (buffer-file-name) 355 * files.el (save-buffer): Don't give message if (buffer-file-name)
351 returns nil. 356 returns nil.
352 357
3532001-01-31 Eli Zaretskii <eliz@is.elta.co.il> 3582001-01-31 Eli Zaretskii <eliz@is.elta.co.il>
354 359
355 * toolbar/tool-bar.el (tool-bar-add-item): Doc fix. 360 * toolbar/tool-bar.el (tool-bar-add-item): Doc fix.
@@ -373,7 +378,7 @@
373 378
374 * frame.el (frame-notice-user-settings): Do the tool-bar 379 * frame.el (frame-notice-user-settings): Do the tool-bar
375 stuff only for graphical displays. Fix a braino. 380 stuff only for graphical displays. Fix a braino.
376 381
377 * frame.el (frame-initialize): Create initial frame visible. 382 * frame.el (frame-initialize): Create initial frame visible.
378 (frame-notice-user-settings): When tool-bar has been switched off, 383 (frame-notice-user-settings): When tool-bar has been switched off,
379 correct the frame size and sync too-bar-mode. 384 correct the frame size and sync too-bar-mode.
diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el
index ab94c3f89d7..676c0e135d4 100644
--- a/lisp/textmodes/tex-mode.el
+++ b/lisp/textmodes/tex-mode.el
@@ -1626,8 +1626,10 @@ This function is more useful than \\[tex-buffer] when you need the
1626 (nreverse elts) ":"))) 1626 (nreverse elts) ":")))
1627 1627
1628(defun tex-shell-running () 1628(defun tex-shell-running ()
1629 (and (get-process "tex-shell") 1629 (let ((proc (get-process "tex-shell")))
1630 (eq (process-status (get-process "tex-shell")) 'run))) 1630 (and proc
1631 (eq (process-status (get-process "tex-shell")) 'run)
1632 (buffer-live-p (process-buffer proc)))))
1631 1633
1632(defun tex-kill-job () 1634(defun tex-kill-job ()
1633 "Kill the currently running TeX job." 1635 "Kill the currently running TeX job."