Skip to content

Commit

Permalink
fixed: occur error when not set C-h C-h
Browse files Browse the repository at this point in the history
use `global-unset-key`.
key format to `<help>`.
  • Loading branch information
ncaq committed Apr 29, 2018
1 parent cc000b1 commit f7c264f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions helm-descbinds.el
Expand Up @@ -117,9 +117,9 @@ This function will be called with two arguments KEY and BINDING."
(if helm-descbinds-mode
(progn
(advice-add 'describe-bindings :override #'helm-descbinds)
(global-set-key (kbd "C-h C-h") nil))
(global-unset-key (kbd "<help> C-h")))
(advice-remove 'describe-bindings #'helm-descbinds)
(global-set-key (kbd "C-h C-h") 'help-for-help)))
(global-set-key (kbd "<help> C-h") 'help-for-help)))

;;;###autoload
(defun helm-descbinds-install ()
Expand Down

0 comments on commit f7c264f

Please sign in to comment.