Re: Howto edit stk files?

From: Karl Eichwalder <ke_at_pertron.central.de>
Date: Thu, 10 Nov 94 22:34 MET

>>>>> "David" == David Fox <fox_at_first.cs.nyu.edu> writes:

    David> to get some basic highlighting, but if anyone has something
    David> better I'd love to have it.

Thanks for these hints -- I am a font-lock fan; better then nothing:

--- 19.28/lisp/font-lock.el~ Sat Aug 6 06:45:15 1994
+++ 19.28/lisp/font-lock.el Thu Nov 10 22:19:00 1994
_at_@ -712,6 +712,7 @@
       (setq font-lock-keywords
             (cond ((eq major-mode 'lisp-mode) lisp-font-lock-keywords)
                   ((eq major-mode 'emacs-lisp-mode) lisp-font-lock-keywords)
+ ((eq major-mode 'scheme-mode) lisp-font-lock-keywords)
                   ((eq major-mode 'c-mode)
                    (make-local-variable 'font-lock-syntax-table)
                    (setq font-lock-syntax-table

in .emacs:

(if (featurep 'font-lock)
    (require 'face-lock)
  (eval-after-load "font-lock" '(load "face-lock")))

(autoload 'turn-on-lazy-lock "lazy-lock"
  "Unconditionally turn on Lazy Lock mode.")

(add-hook 'font-lock-mode-hook 'turn-on-lazy-lock)

(setq scheme-mode-hook
      '(lambda ()
         (font-lock-mode 1)))

-- 
                        | keichwa_at_gwdg.de             |  ____   _ o
                        | ke_at_pertron.central.de       | ___  _-\_<,
Karl Eichwalder         | 2:2437/209                  |     (*)/'(*) 
Received on Thu Nov 10 1994 - 23:14:14 CET

This archive was generated by hypermail 2.3.0 : Mon Jul 21 2014 - 19:38:59 CEST