diff options
author | Chong Yidong <cyd@stupidchicken.com> | 2007-03-30 01:54:04 +0000 |
---|---|---|
committer | Chong Yidong <cyd@stupidchicken.com> | 2007-03-30 01:54:04 +0000 |
commit | be6e5004e209fc008b44c07d770aa517fa6d47cb (patch) | |
tree | 981a49e54093268ddd146f88a8977fe328869842 /lisp/eshell | |
parent | b2d2c07e8da4f9340c9c38778b6936fc900fdb3c (diff) | |
download | emacs-be6e5004e209fc008b44c07d770aa517fa6d47cb.tar.gz |
(eshell/kill): Tweak regexp to recognize SIGUSR1 and SIGUSR2.
Diffstat (limited to 'lisp/eshell')
-rw-r--r-- | lisp/eshell/esh-proc.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/eshell/esh-proc.el b/lisp/eshell/esh-proc.el index d3dabbf04b5..96d8255a3ab 100644 --- a/lisp/eshell/esh-proc.el +++ b/lisp/eshell/esh-proc.el @@ -181,7 +181,7 @@ The signals which will cause this to happen are matched by (setq signum (abs (string-to-number id)))) ((stringp id) (let (case-fold-search) - (if (string-match "^-\\([A-Z]+\\)$" id) + (if (string-match "^-\\([A-Z]+[12]?\\)$" id) (setq signum (intern (concat "SIG" (match-string 1 id)))) (error "kill: bad signal spec `%s'" id)))) |