[Top][All Lists]

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

(add-hook 'compilaton-mode-hook 'view-mode-enter)

From: Dan Jacobson
Subject: (add-hook 'compilaton-mode-hook 'view-mode-enter)
Date: 25 Dec 2001 10:50:56 +0800
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1

Kevin> Does (add-hook 'compilaton-mode-hook 'view-mode-enter) do what you want?

Odd, on emacs -q, running this with "ESC :" doesn't cause it to be
invoked with the next M-x compile. [no "view" in modeline too].  OK, I
think I'll stick with

(add-hook 'compilation-mode-hook
            (lambda ()
              (toggle-read-only 1)
              (define-key compilation-mode-map "q" 'quit-window)
http://www.geocities.com/jidanni/ Tel+886-4-25854780

reply via email to

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