diff options
| author | Jonas Bernoulli <jonas@bernoul.li> | 2017-10-21 10:06:20 +0200 |
|---|---|---|
| committer | Jonas Bernoulli <jonas@bernoul.li> | 2017-10-21 17:25:58 +0200 |
| commit | 3fbaf155992fe3fead7ebfbb4eff9c2ac6c57812 (patch) | |
| tree | d267ebda9bc5c5b8a4b9e1542ba2e94935d22872 /lisp/magit-diff.el | |
| parent | 82f2fe82f87aa16989efe6e472d0f1cb20b6474d (diff) | |
magit-patch-save: new command
Closes #2950.
Diffstat (limited to 'lisp/magit-diff.el')
| -rw-r--r-- | lisp/magit-diff.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/magit-diff.el b/lisp/magit-diff.el index 772a129..51627d5 100644 --- a/lisp/magit-diff.el +++ b/lisp/magit-diff.el @@ -1423,6 +1423,7 @@ commit or stash at point, then prompt for a commit." (define-key map "\s" 'scroll-up) (define-key map "\d" 'scroll-down) (define-key map "j" 'magit-jump-to-diffstat-or-diff) + (define-key map [remap write-file] 'magit-patch-save) map) "Keymap for `magit-diff-mode'.") |
