diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2023-02-22 13:30:03 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2023-02-22 13:30:03 -0700 |
commit | 291ec9a68729e39c79ba5ac2680a6840dc338ca3 (patch) | |
tree | b2adc1f4d50b782384ede5c87dd7877087cc6cbd | |
parent | a9a8e7a740a1d91b9532a16d2a5ae1bf7a00be81 (diff) | |
download | dotfiles-291ec9a68729e39c79ba5ac2680a6840dc338ca3.tar.gz |
spw/bts-submit: fix trimming the version number
-rw-r--r-- | .emacs.d/init.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el index b432b017..794caa6b 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -2334,7 +2334,7 @@ Used in my `message-mode' yasnippets." nil t nil nil "normal")))) (let* ((rmadison (shell-command-to-string (format "rmadison --suite=%s %s" suite package))) - (version (nth 1 (split-string rmadison "|" t " ")))) + (version (nth 1 (split-string rmadison "|" t "[[:blank:]]+")))) (compose-mail "Debian Bug Tracking System <submit@bugs.debian.org>" (format "%s: %s" package subject)) (insert |