Mercurial > hg > xemacs-beta
comparison lisp/comint/background.el @ 134:34a5b81f86ba r20-2b1
Import from CVS: tag r20-2b1
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:30:11 +0200 |
parents | b9518feda344 |
children | 43dd3413c7c7 |
comparison
equal
deleted
inserted
replaced
133:b27e67717092 | 134:34a5b81f86ba |
---|---|
46 ;;; Code: | 46 ;;; Code: |
47 | 47 |
48 (provide 'background) | 48 (provide 'background) |
49 (require 'comint) | 49 (require 'comint) |
50 | 50 |
51 (defgroup background nil | |
52 "Fun with background jobs" | |
53 :group 'processes) | |
54 | |
55 | |
51 ;; user variables | 56 ;; user variables |
52 (defvar background-show t | 57 (defcustom background-show t |
53 "*If non-nil, background jobs' buffers are shown when they're started.") | 58 "*If non-nil, background jobs' buffers are shown when they're started." |
54 (defvar background-select nil | 59 :type 'boolean |
55 "*If non-nil, background jobs' buffers are selected when they're started.") | 60 :group 'background) |
61 (defcustom background-select nil | |
62 "*If non-nil, background jobs' buffers are selected when they're started." | |
63 :type 'boolean | |
64 :group 'background) | |
56 | 65 |
57 (defun background (command &optional buffer-name) | 66 (defun background (command &optional buffer-name) |
58 "Run COMMAND in the background like csh. | 67 "Run COMMAND in the background like csh. |
59 A message is displayed when the job starts and finishes. The buffer is in | 68 A message is displayed when the job starts and finishes. The buffer is in |
60 comint mode, so you can send input and signals to the job. The process object | 69 comint mode, so you can send input and signals to the job. The process object |