diff options
| author | sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> | 2021-09-04 16:03:38 +0200 |
|---|---|---|
| committer | sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> | 2021-09-04 17:07:54 +0200 |
| commit | 0eecea083e23f85d3a987b1cf4f8956c7d3a6dda (patch) | |
| tree | 007f01b9186ab6937c488106cf0b69283e899f68 /tutorial/expression.md | |
| parent | 80028848e808382a6eaf98f6a66128b7da6e3fc7 (diff) | |
emacs/bqn-input.el: fix reliance on undefined vars und functions
bqn--make-bqn-mode-map depended on the value of bqn-mode-map-prefix, but
bqn-mode-map-prefix's set function also used bqn--make-bqn-mode-map. To
break this cycle which made emacs' warnings act up a bit, we remove
bqn--make-bqn-mode-map and defvar bqn--mode-map to nil initially,
trusting that it'll be correctly re-defined by the initialization of
bqn-mode-map-prefix via its set function.
I verified that this works correctly both in the case of the initial
value (although I swapped out the value for "M-" beforehand since in my
setup Super doesn't seem to work at all) and redefining it using
costumize-variable.
Diffstat (limited to 'tutorial/expression.md')
0 files changed, 0 insertions, 0 deletions
