unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* having trouble adding a key to an existing mode-map
@ 2013-12-18 17:31 gottlieb
  2013-12-18 17:38 ` Jambunathan K
  0 siblings, 1 reply; 4+ messages in thread
From: gottlieb @ 2013-12-18 17:31 UTC (permalink / raw)
  To: help-gnu-emacs

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-12-18 21:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.9600.1387387898.10748.help-gnu-emacs@gnu.org>
2013-12-18 21:31 ` having trouble adding a key to an existing mode-map Emanuel Berg
2013-12-18 17:31 gottlieb
2013-12-18 17:38 ` Jambunathan K
2013-12-18 17:51   ` Drew Adams

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).