Jason Lewis writes:
>Thanks,
>
>I tried that but i get this error message
>
>Symbol's value as variable is void: tt-mode-hook
>
>any ideas?
Dave's tt-mode.el has a bug (at least with 20.7.2). Try the following
patch, and the following in .emacs works for me:
(autoload 'tt-mode "tt-mode")
(require 'tt-mode)
(add-hook 'tt-mode-hook '(lambda () (setq truncate-lines t)))
And the patch:
--- tt-mode.el.orig Tue Feb 3 18:50:31 2004
+++ tt-mode.el Tue Feb 3 18:50:48 2004
@@ -87,7 +87,7 @@
(setq font-lock-defaults '(tt-font-lock-keywords nil t))
)
(font-lock-mode)
- (run-hooks tt-mode-hook))
+ (run-hooks 'tt-mode-hook))
(provide 'tt-mode)
_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://lists.template-toolkit.org/mailman/listinfo/templates