From: Mark Walters Date: Tue, 12 Nov 2013 20:10:53 +0000 (+0000) Subject: emacs: help: check for nil key binding X-Git-Tag: 0.17_rc1~41 X-Git-Url: https://git.notmuchmail.org/git?a=commitdiff_plain;h=a5ecdf390e4dca6a314cee1594ab3236ea62ca85;hp=a5ecdf390e4dca6a314cee1594ab3236ea62ca85;p=notmuch emacs: help: check for nil key binding A standard way to unset a key binding is local-unset-key which is equivalent to (define-key (current-local-map) key nil) Currently notmuch-help gives an error and fails if a user has done this. To fix this we only add a help line if the binding is non-nil. ---