Closed ztlevi closed 6 years ago
I'm trying to remap keys for sx-question-list-mode, but it's not working.
sx-question-list-mode
Here is the code I'm using.
(with-eval-after-load 'sx-question-list-mode (progn (define-key sx-question-list-mode-map "j" 'sx-question-list-next) (define-key sx-question-list-mode-map "k" 'sx-question-list-previous) ))
This actually works if I evaluate the define-key manually by C-x C-e after sx-question-list-mode enabled.
define-key
C-x C-e
Does anyone what's going on here?
Thanks~
The feature name is sx-question-list, not sx-question-list-mode :-)
sx-question-list
See the documentation for with-eval-after-load for details.
with-eval-after-load
Oh, that's right. Thanks!
I'm trying to remap keys for
sx-question-list-mode
, but it's not working.Here is the code I'm using.
This actually works if I evaluate the
define-key
manually byC-x C-e
aftersx-question-list-mode
enabled.Does anyone what's going on here?
Thanks~