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

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

How to get hook var of the current major mode?


From: address@hidden
Subject: How to get hook var of the current major mode?
Date: Sat, 18 May 2013 09:48:41 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130328 Thunderbird/17.0.5

I want to do somthing like this:
(let ((hook (get--the--current--major--mode--hook)))
  (add-hook hook (lambda ()
                   (setq truncate-lines t))))




reply via email to

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