X-Git-Url: https://git.cworth.org/git?p=notmuch-wiki;a=blobdiff_plain;f=emacstips.mdwn;h=f5b418c6700cec7588040ed85a4b80248ceb528e;hp=2ba9e9208071b45a03d160c03fb332fc50d57c69;hb=05c4f6de8fb97054de1b687269ab2eeb03438f0c;hpb=476ec883ac3270151cd73769c641cad52582818c diff --git a/emacstips.mdwn b/emacstips.mdwn index 2ba9e92..f5b418c 100644 --- a/emacstips.mdwn +++ b/emacstips.mdwn @@ -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