help-gnu-emacs
[Top][All Lists]
Advanced

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

having trouble adding a key to an existing mode-map


From: gottlieb
Subject: having trouble adding a key to an existing mode-map
Date: Wed, 18 Dec 2013 12:31:20 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

My actual goal is to bind C-c t when in nroff mode to my command
ajg-preview-troff.  To isolate any of my code I have tried

emacs -Q -nw
(require 'nroff-mode)
(define-key nroff-mode-map "t" 'dired)
nroff-mode-map

The result is
 (keymap (116 . dired) ...)

But 116 is not "t"; it is down.

Where is my error?
thanks,
allan



reply via email to

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