User: james
Date: 06/07/06 19:07:42
Modified: xemacs/lisp ChangeLog process.el
Log:
If an output buffer is specified, use it. <m3lkrez7pi.fsf(a)jerrypc.cs.usu.edu>
Revision Changes Path
1.752 +5 -0 XEmacs/xemacs/lisp/ChangeLog
Index: ChangeLog
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/lisp/ChangeLog,v
retrieving revision 1.751
retrieving revision 1.752
diff -u -p -r1.751 -r1.752
--- ChangeLog 2006/06/25 17:27:28 1.751
+++ ChangeLog 2006/07/06 17:07:40 1.752
@@ -1,3 +1,8 @@
+2006-06-30 Jerry James <james(a)xemacs.org>
+
+ * process.el (shell-command): If a specific output buffer was
+ requested, use it.
+
2006-06-25 Aidan Kehoe <kehoea(a)parhasard.net>
* x-init.el (x-initialize-keyboard):
1.20 +2 -2 XEmacs/xemacs/lisp/process.el
Index: process.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/lisp/process.el,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -p -r1.19 -r1.20
--- process.el 2005/01/09 09:44:44 1.19
+++ process.el 2006/07/06 17:07:41 1.20
@@ -359,8 +359,8 @@ In either case, the output is inserted a
;; Command ending with ampersand means asynchronous.
(progn
(if-fboundp 'background
- (background (substring command 0
- (match-beginning 0)))
+ (background (substring command 0 (match-beginning 0))
+ output-buffer)
(error
'unimplemented
"backgrounding a shell command requires package `background'")))