home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 October
/
usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso
/
unix
/
volume11
/
templates
/
part05
/
pascal.el
< prev
next >
Wrap
Lisp/Scheme
|
1987-10-04
|
727b
|
32 lines
;;; pascal.el -- Pascal mode for Gnuemacs
;;; Copyright (C) 1987 Mark A. Ardis.
(provide 'pascal)
;;;+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
(defvar pascal-mode-map nil
"Keymap for Pascal Mode."
) ; pascal-mode-map
;;;+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
(defun pascal-mode ()
"Fundamental mode plus Pascal templates:
\\{pascal-mode-map}
"
(interactive)
; Local Variables
(let ()
; Body
(setq major-mode 'pascal-mode)
(setq mode-name "Pascal")
(template-mode)
(setq pascal-mode-map (current-local-map))
) ; let
) ; defun pascal-mode
;;;+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
;;; end of pascal.el