an improve shell-command for emacs
fixed link to shell-command+ in README
add deprecation notice to readme
simplify if-expressions where applicable



You can also use your local clone with git send-email.


bang is a shell-command substitute that makes it easier to run commands on regions or whole buffers. This is done by potentially interpreting the first character differently, as the bang docstring explains.

Bang has been based on a function of the same name by Leah Neukirchen.

Note: bang is being deprecated in favour of shell-command+, available on ELPA.

#How to use

Using MELPA and use-package, a minimal setup might look something like this:

(use-package bang
  :bind ("M-!" . bang))

Bug reports and patches should be sent to my public inbox.


bang.el is distributed under the CC0 1.0 Universal (CC0 1.0) Public Domain Dedication license.