]> git.eshelyaron.com Git - emacs.git/commitdiff
(eshell/kill): Tweak regexp to recognize SIGUSR1 and SIGUSR2.
authorChong Yidong <cyd@stupidchicken.com>
Fri, 30 Mar 2007 01:54:04 +0000 (01:54 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Fri, 30 Mar 2007 01:54:04 +0000 (01:54 +0000)
lisp/eshell/esh-proc.el

index d3dabbf04b588e5d772ae520b928899c3a1f7b21..96d8255a3abfad7c871f4bd4e3c6f06847fa70f8 100644 (file)
@@ -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))))