In my .emacs I have the following:
(progn ;
(defvar my-keys-minor-mode-map
(let ((map (make-sparse-keymap)))
; other bindings ..
(define-key map (kbd "C-c c" ) 'column-marker-3)
map)
"my-keys-minor-mode keymap.")
(define-minor-mode my-keys-minor-mode
"A minor mode so that my key settings override annoying major modes."
:init-value t
:lighter " my-keys")
(my-keys-minor-mode 1)
)
Reading the ColumnMarker documentation I see that I have to use C-u C-u M-x column-marker-1
to erase all column highlighting. My question is, how do I define that as a binding in the format similar to the above. E.g. how can I make something like the following work?
(define-key map (kbd "C-c d" ) '(C-u C-u M-x column-marker-1)) ; this obviously doesn't work