diff options
author | thomasf <anybody@emacswiki.org> | 2015-08-08 19:05:44 +0200 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2019-08-25 15:46:14 -0300 |
commit | c31daae01415133f88ff3382434f8af4c842381f (patch) | |
tree | 96b4478e76c6a6f3ef19a9583a3b72e59cbbdd69 | |
parent | 32ce46ae9bd1dec88842471847d27e76d97eb264 (diff) |
Don't fail if eldoc-mode is undefined
Patch obtained from: https://github.com/emacsmirror/key-chord/
Gbp-Pq: Name Don-t-fail-if-eldoc-mode-is-undefined.patch
-rw-r--r-- | key-chord.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/key-chord.el b/key-chord.el index e59fcf5..b5f65d0 100644 --- a/key-chord.el +++ b/key-chord.el @@ -334,7 +334,7 @@ Please ignore that." key-chord-two-keys-delay))) (if (if executing-kbd-macro (not (memq first-char key-chord-in-last-kbd-macro)) - (when eldoc-mode + (when (bound-and-true-p eldoc-mode) (eldoc-pre-command-refresh-echo-area)) (sit-for delay 0 'no-redisplay)) |