[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Using keymap argument of define-minor-mode

From: Philipp Stephani
Subject: Using keymap argument of define-minor-mode
Date: Fri, 15 Apr 2016 11:57:46 +0000

The docstring of `define-minor-mode' says that KEYMAP can be a list of
arguments to `easy-mmode-define-keymap'. However, this doesn't seem to work:

(define-minor-mode test-mode nil
  :keymap '((([?a] . ignore)) :inherit grep-mode-map))

This attempts to call `easy-mmode-define-keymap' with the single
argument ((([97]
. ignore)) :inherit grep-mode-map), so it doesn't interpret the list as
list of arguments. Is the syntax somehow different, or is this a bug?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]