Emacs mode: push/pop next patch, not patch at point
authorKarl Hasselström <kha@treskal.com>
Wed, 19 Dec 2007 18:00:08 +0000 (18:00 +0000)
committerCatalin Marinas <catalin.marinas@gmail.com>
Wed, 19 Dec 2007 23:13:28 +0000 (23:13 +0000)
commit82a12e6e69b54fce426b71c5889303977fb9cdb9
tree83dc735d809e66447abb0e0f6d469277d890bd4d
parent2ee7506c60b1a47777687f8128a011bdbacde3f4
Emacs mode: push/pop next patch, not patch at point

The three operations we should have are:

  * Pop the topmost applied patch, no matter where point is.

  * Push the first unapplied patch, no matter where point is.

  * Push/pop the patch at point, depending on whether it's currently
    applied.

This patch makes "<" and ">" do the first two operations. The third is
coming in a later patch.

Signed-off-by: Karl Hasselström <kha@treskal.com>
Signed-off-by: David Kågedal <davidk@lysator.liu.se>
contrib/stgit.el