zeger%merlin@HUB.UCSB.EDU (Zeger) (02/17/89)
I would like to define some keys to be my own functions in dired-mode. I tried putting in my .emacs the following line: (define-key dired-mode-map "l" 'dired-my-function) This results in an error since dired is autoloaded the first time it is called and hence dired-mode-map is unknown at the time .emacs is loaded. I fixed this by also putting in my .emacs the line: (load "dired" nil t) But this means I have to load dired every time I load .emacs. Is there some better way yo accomplish what I want? Maybe a dired-mode-hook would be a good idea? Ken Zeger (zeger@hub.ucsb.edu)