diff options
author | thomasf <anybody@emacswiki.org> | 2015-08-08 19:05:44 +0200 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2017-01-27 07:28:20 -0700 |
commit | 39173c400a142d8edbeac75f17ba6aa624d24b45 (patch) | |
tree | 9a31575400a0e73bab7bd41317f4bb752ed4a4e0 | |
parent | b8838963891e1b0e80e027a36146ccb820907b6d (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)) |