Mercurial > hg > xemacs-beta
diff 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 |
line wrap: on
line diff
--- a/lisp/comint/background.el Mon Aug 13 09:29:37 2007 +0200 +++ b/lisp/comint/background.el Mon Aug 13 09:30:11 2007 +0200 @@ -48,11 +48,20 @@ (provide 'background) (require 'comint) +(defgroup background nil + "Fun with background jobs" + :group 'processes) + + ;; user variables -(defvar background-show t - "*If non-nil, background jobs' buffers are shown when they're started.") -(defvar background-select nil - "*If non-nil, background jobs' buffers are selected when they're started.") +(defcustom background-show t + "*If non-nil, background jobs' buffers are shown when they're started." + :type 'boolean + :group 'background) +(defcustom background-select nil + "*If non-nil, background jobs' buffers are selected when they're started." + :type 'boolean + :group 'background) (defun background (command &optional buffer-name) "Run COMMAND in the background like csh.