Stefan Monnier
2768929d66
(define-derived-mode): Preserve mode-class' rather than
special' property.
...
(derived-mode-class): Make it obsolete.
2002-06-28 14:57:08 +00:00
Richard M. Stallman
0ee25e8e37
(derived-mode-p): Function moved to subr.el.
2001-12-12 09:29:20 +00:00
Stefan Monnier
b6b7eda9f0
(define-derived-mode): Create the abbrev-table from inside the `defvar'.
2001-11-21 02:53:46 +00:00
Pavel Janík
199b51e6df
Fix autoload cookie.
2001-11-15 21:46:12 +00:00
Richard M. Stallman
4c82860aae
(define-derived-mode): Doc fix.
2001-11-11 17:58:58 +00:00
Sam Steingold
4fb0e5588a
(derived-mode-hook-name, derived-mode-map-name)
...
(derived-mode-syntax-table-name, derived-mode-abbrev-table-name):
define defsubsts before they are first used
2001-10-26 17:51:38 +00:00
Stefan Monnier
d6cf8a2463
(define-derived-mode): Use {delay,run}-mode-hooks.
...
(derived-mode-p): Autoload.
2001-10-25 03:17:33 +00:00
Gerd Moellmann
3848aeeb6f
(define-derived-mode, derived-mode-make-docstring): Allow `parent' to be nil.
2001-10-05 09:22:09 +00:00
Pavel Janík
5553563924
Some fixes to follow coding conventions in files maintained by FSF.
2001-07-15 16:15:35 +00:00
Stefan Monnier
b761da871c
(define-derived-mode): Don't use combine-run-hooks.
2000-12-07 11:52:01 +00:00
Stefan Monnier
6ad501012b
(define-derived-mode): Revived, moved from easy-mmode.el.
...
(derived-mode-p): New function.
(derived-mode-make-docstring): Add `docstring' argument.
Use it if available and complete it if necessary.
2000-12-03 21:39:34 +00:00
Stefan Monnier
8ccce2b002
Fix keywords.
...
(define-derived-mode): Only define if needed.
2000-05-26 00:42:50 +00:00
Stefan Monnier
931d0724dd
Fix keywords.
2000-05-25 20:28:00 +00:00
Dave Love
f947a7faf0
Add finder keywords.
2000-05-24 15:24:37 +00:00
Stefan Monnier
c7ea3acc6b
* derived.el (define-derived-mode): Don't autoload anymore.
...
Prefer the macro-only version provided by easy-mmode.el.
* emacs-lisp/easy-mmode.el (define-derived-mode): New name for
`easy-mmode-define-derived-mode'.
Use `combine-run-hooks'.
(easy-mmode-define-navigation): New macro.
2000-03-21 15:35:06 +00:00
Dave Love
04c817d467
Doc fixes, remove old backquote syntax.
1999-11-29 23:19:25 +00:00
Richard M. Stallman
e2154af9ff
(derived-mode-hooks-name): Use -hook, not -hooks, in mode hook name.
...
(derived-mode-hook-name): Renamed from ...-hooks; caller changed.
1998-07-03 21:37:43 +00:00
Richard M. Stallman
7ada1a07ac
(define-derived-mode): Add derived-mode-parent
...
property to the defived mode command name.
1997-02-08 20:17:04 +00:00
Erik Naggum
b035a6780c
Fixed up initial line
1996-05-20 21:07:10 +00:00
Karl Heuer
5dee7dae09
(derived-mode-merge-syntax-tables): Use inheritance.
1996-02-21 21:33:12 +00:00
Erik Naggum
b578f267af
Update FSF's address.
1996-01-14 07:34:30 +00:00
Richard M. Stallman
a43944b5b8
(derived-mode-init-mode-variables): Make proper syntax-table.
...
(derived-mode-merge-syntax-tables): Rewrite using map-char-table.
1995-10-22 05:20:37 +00:00
Richard M. Stallman
f34e691838
(derived-mode-set-keymap): Cope if old-map is nil.
1995-07-20 17:42:55 +00:00
Richard M. Stallman
37a4f4b6b6
(derived-mode-merge-keymaps): Recursively merge prefix key submaps also.
1995-04-14 05:56:31 +00:00
Richard M. Stallman
6b410da764
(define-derived-mode): Doc fix.
1995-01-11 17:27:35 +00:00
Richard M. Stallman
56152e1744
(derived-mode-merge-abbrev-tables):
...
Do nothing if OLD is nil.
1994-06-05 15:17:16 +00:00
Richard M. Stallman
ec830850db
(derived-mode-init-mode-variables): Add autoload cookie.
1994-05-28 04:48:21 +00:00
Richard M. Stallman
06d35594f6
Renamed from mode-clone.el.
...
All functions renamed.
(define-derived-mode): Renamed from define-mode-clone.
1994-03-08 19:02:50 +00:00
Richard M. Stallman
26757b4b03
(clone-init-mode-variables): Don't defvar
...
variables if already bound. Put on clone-unmerged props if
they were not bound.
(clone-make-docstring): Install the map unconditionally;
set clone-unmerged property to nil. No clone-merged property.
(clone-set-syntax-table): Set clone-unmerged prop, not clone-merged.
(clone-set-abbrev-table): Call clone-merge-abbrev-tables.
Don't touch properties here.
(clone-merge-keymaps): Splice out the `keymap' of the OLD map.
(clone-merge-abbrev-tables): New function.
1994-02-12 02:27:29 +00:00
Richard M. Stallman
b72226e37e
(define-mode-clone): Renamed from mode-clone.
...
Swap args PARENT and CHILD.
Don't use clone-run-setup-function.
(clone-run-setup-function): Function deleted.
1994-02-04 01:04:15 +00:00
Richard M. Stallman
76078cf0dd
Initial revision
1994-02-04 00:30:33 +00:00