diff --git a/src/funmap.c b/src/funmap.c index ff29a4c..27c3653 100644 --- a/src/funmap.c +++ b/src/funmap.c @@ -102,7 +102,9 @@ static struct funmap functnames[] = { {desckey, "describe-key-briefly", 1, NULL}, {diffbuffer, "diff-buffer-with-file", 0, NULL}, {digit_argument, "digit-argument", 1, NULL}, +#ifdef ENABLE_DIRED {dired_jump, "dired-jump", 1, NULL}, +#endif {helptoggle, "display-help-mode", 0, NULL}, {timetoggle, "display-time-mode", 0, NULL}, {lowerregion, "downcase-region", 0, NULL}, diff --git a/src/keymap.c b/src/keymap.c index a8f3c9e..6126fc2 100644 --- a/src/keymap.c +++ b/src/keymap.c @@ -157,7 +157,9 @@ static PF cXcB[] = { }; static PF cXcJ[] = { +#ifdef ENABLE_DIRED dired_jump, /* ^J */ +#endif rescan, /* ^K */ lowerregion, /* ^L */ rescan, /* ^M */