# HG changeset patch # User Chong Yidong # Date 1175219644 0 # Node ID 95e8e1e8d4de39991fbbb90a185e6a0e38d278e8 # Parent c02f4807a29f55b92fe62d6e8b4be313bb895565 (eshell/kill): Tweak regexp to recognize SIGUSR1 and SIGUSR2. diff -r c02f4807a29f -r 95e8e1e8d4de lisp/eshell/esh-proc.el --- a/lisp/eshell/esh-proc.el Fri Mar 30 01:53:54 2007 +0000 +++ b/lisp/eshell/esh-proc.el Fri Mar 30 01:54:04 2007 +0000 @@ -181,7 +181,7 @@ (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))))