]> git.notmuchmail.org Git - notmuch-wiki/commitdiff
Change binding for my-notmuch-show-view-as-patch
authorDave Barker <kzar@kzar.co.uk>
Sun, 16 Oct 2016 20:45:01 +0000 (22:45 +0200)
committerDave Barker <kzar@kzar.co.uk>
Sun, 16 Oct 2016 20:45:01 +0000 (22:45 +0200)
emacstips.mdwn

index 2ba9e9208071b45a03d160c03fb332fc50d57c69..f5b418c6700cec7588040ed85a4b80248ceb528e 100644 (file)
@@ -718,9 +718,9 @@ refine, next hunk etc all work.
                      (add-to-list 'minor-mode-overriding-map-alist new-ro-bind))
         (goto-char (point-min))))
 
-and then this function needs to bound into the keymap with something like
+and then this function needs to bound to `. d` in the keymap
 
-    (define-key 'notmuch-show-mode-map "D" 'my-notmuch-show-view-as-patch)
+    (define-key 'notmuch-show-part-map "d" 'my-notmuch-show-view-as-patch)
 
 ## Interfacing with Patchwork