Mercurial > emacs
comparison lisp/progmodes/meta-mode.el @ 18924:f4b6329afef0
Update copyright notice and permission notice.
(metafont-mode): Add autoload cookie.
(metapost-mode): Add autoload cookie.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 23 Jul 1997 20:57:49 +0000 |
parents | 7e14277c51f3 |
children | 5221c4793bb8 |
comparison
equal
deleted
inserted
replaced
18923:de900356abd5 | 18924:f4b6329afef0 |
---|---|
1 ;;; meta-mode.el --- major mode for editing Metafont or MetaPost sources. | 1 ;;; meta-mode.el --- major mode for editing Metafont or MetaPost sources. |
2 | 2 |
3 ;; Copyright (C) 1997 by Ulrik Vieth. | 3 ;; Copyright (C) 1997 Free Software Foundation, Inc. |
4 | 4 |
5 ;; Author: Ulrik Vieth <vieth@thphy.uni-duesseldorf.de> | 5 ;; Author: Ulrik Vieth <vieth@thphy.uni-duesseldorf.de> |
6 ;; Version: 1.0 | 6 ;; Version: 1.0 |
7 ;; Keywords: Metafont, MetaPost, tex, languages | 7 ;; Keywords: Metafont, MetaPost, tex, languages |
8 | 8 |
9 ;;; This file is *not* part of GNU Emacs. | 9 ;; This file is part of GNU Emacs. |
10 | 10 |
11 ;; This program is free software; you can redistribute it and/or modify | 11 ;; GNU Emacs is free software; you can redistribute it and/or modify |
12 ;; it under the terms of the GNU General Public License as published by | 12 ;; it under the terms of the GNU General Public License as published by |
13 ;; the Free Software Foundation; either version 2, or (at your option) | 13 ;; the Free Software Foundation; either version 2, or (at your option) |
14 ;; any later version. | 14 ;; any later version. |
15 | 15 |
16 ;; This program is distributed in the hope that it will be useful, | 16 ;; GNU Emacs is distributed in the hope that it will be useful, |
17 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of | 17 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of |
18 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 18 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
19 ;; GNU General Public License for more details. | 19 ;; GNU General Public License for more details. |
20 | 20 |
21 ;; You should have received a copy of the GNU General Public License | 21 ;; You should have received a copy of the GNU General Public License |
1040 (use-local-map meta-mode-map) | 1040 (use-local-map meta-mode-map) |
1041 (easy-menu-add meta-mode-menu) | 1041 (easy-menu-add meta-mode-menu) |
1042 ) | 1042 ) |
1043 | 1043 |
1044 | 1044 |
1045 ;;;###autoload | |
1045 (defun metafont-mode () | 1046 (defun metafont-mode () |
1046 "Major mode for editing Metafont sources. | 1047 "Major mode for editing Metafont sources. |
1047 Special commands: | 1048 Special commands: |
1048 \\{meta-mode-map} | 1049 \\{meta-mode-map} |
1049 | 1050 |
1064 (setq meta-complete-list | 1065 (setq meta-complete-list |
1065 (list (list "\\<\\(\\sw+\\)" 1 'meta-symbol-list) | 1066 (list (list "\\<\\(\\sw+\\)" 1 'meta-symbol-list) |
1066 (list "" 'ispell-complete-word))) | 1067 (list "" 'ispell-complete-word))) |
1067 (run-hooks 'meta-common-mode-hook 'metafont-mode-hook)) | 1068 (run-hooks 'meta-common-mode-hook 'metafont-mode-hook)) |
1068 | 1069 |
1070 ;;;###autoload | |
1069 (defun metapost-mode () | 1071 (defun metapost-mode () |
1070 "Major mode for editing MetaPost sources. | 1072 "Major mode for editing MetaPost sources. |
1071 Special commands: | 1073 Special commands: |
1072 \\{meta-mode-map} | 1074 \\{meta-mode-map} |
1073 | 1075 |