home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 4
/
FreshFish_May-June1994.bin
/
bbs
/
may94
/
util
/
edit
/
jade.lha
/
Jade
/
lisp
/
modes.jlc
< prev
next >
Wrap
Text File
|
1994-04-20
|
795b
|
13 lines
(setq mode-alist (quote (("^c(|-mode)$" . c-mode) ("\\.[ch]$" . c-mode) ("^lisp(|-mode)$" . lisp-mode) ("\\.jl$" . lisp-mode) ("^texinfo(|-mode)$" . texinfo-mode) ("\\.texi(|nfo)$" . texinfo-mode))))
(set-buffer-variable (quote major-mode))
(set-buffer-variable (quote major-mode-kill))
(defun get-mode (name) 55631 (lisp-code "D1I2LF\"þ¢LJþM\tHMF!Hû E" [mode-alist list elt regexp-match name return] 4))
(defun init-mode (buf &optional name) 55783 (lisp-code "ÿI²±xþÿ´ÿ«ÿ«\nÿ«\tF\"H\tF!H\tþÁ\nG±H" [buf major-mode name mode-name regexp-expand-line "-\\*- *([^ ]+) *-\\*-" "\\1" pos 1 file-name get-mode functionp funcall] 7))
(defun kill-mode (&optional buf) 56210 (lisp-code "ÿI²F H±xþ\nG±H" [buf major-mode-kill funcall] 4))