commit: Let sudo-command-line() do something sensible on an empty buffer.
mika at repos.grml.org
Sun Aug 19 10:53:16 CEST 2007
Changeset available online at:
user: Frank Terbeck <ft at grml.org>
date: Thu Aug 16 18:48:32 2007 +0200
Let sudo-command-line() do something sensible on an empty buffer.
When the buffer is empty, assume that the user wants to rerun the previous
command, prepended by 'sudo '. Also changed _sudo-command-line() to
sudo-command-line(). Per convention functions starting with underscore are
usually completion widgets (and it's really not needed here).
More information about the Git-commits