diff options
| author | Stefan Monnier | 2007-10-28 02:41:00 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2007-10-28 02:41:00 +0000 |
| commit | e047f448837314fb158e0571813e79fbac677cc7 (patch) | |
| tree | e14390dd2f4cb89d066b1dd1decef1d57cae8942 /src/Makefile.in | |
| parent | a034393c29917271c100c3d55dff2a23ffcffeb4 (diff) | |
| download | emacs-e047f448837314fb158e0571813e79fbac677cc7.tar.gz emacs-e047f448837314fb158e0571813e79fbac677cc7.zip | |
Rewrite abbrev.c in Elisp.
* image.c (Qcount): Don't declare as extern.
(syms_of_image): Initialize and staticpro `Qcount'.
* puresize.h (BASE_PURESIZE): Increase for the new abbrev.el functions.
* emacs.c (main): Don't call syms_of_abbrev.
* Makefile.in (obj): Remove abbrev.o.
(abbrev.o): Remove.
* abbrev.c: Remove.
Rewrite abbrev.c in Elisp.
* abbrev.el (abbrev-mode): Move custom group from cus-edit.el.
(abbrev-table-get, abbrev-table-put, abbrev-get)
(abbrev-put, make-abbrev-table, abbrev-table-p, clear-abbrev-table)
(define-abbrev, abbrev--check-chars, define-global-abbrev)
(define-mode-abbrev, abbrev--active-tables, abbrev-symbol)
(abbrev-expansion, abbrev--before-point, expand-abbrev)
(unexpand-abbrev, abbrev--write, abbrev--describe)
(insert-abbrev-table-description, define-abbrev-table):
New funs, largely transcribed from abbrev.c.
(abbrev-with-wrapper-hook): New macro.
(abbrev-table-name-list, global-abbrev-table)
(abbrev-minor-mode-table-alist, fundamental-mode-abbrev-table)
(abbrevs-changed, abbrev-all-caps, abbrev-start-location)
(abbrev-start-location-buffer, last-abbrev, last-abbrev-text)
(last-abbrev-location, pre-abbrev-expand-hook, abbrev-expand-function):
New vars, largely transcribed from abbrev.c.
* cus-edit.el (abbrev-mode): Remove. Move to abbrev.el.
* cus-start.el: Remove abbrev-all-caps and pre-abbrev-expand-hook.
* loadup.el: Load "abbrev.el" before "lisp-mode.el".
Diffstat (limited to 'src/Makefile.in')
| -rw-r--r-- | src/Makefile.in | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/Makefile.in b/src/Makefile.in index 7119f94c8d2..56e8a7c49a5 100644 --- a/src/Makefile.in +++ b/src/Makefile.in | |||
| @@ -603,7 +603,7 @@ obj= dispnew.o frame.o scroll.o xdisp.o $(XMENU_OBJ) window.o \ | |||
| 603 | cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o \ | 603 | cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o \ |
| 604 | alloc.o data.o doc.o editfns.o callint.o \ | 604 | alloc.o data.o doc.o editfns.o callint.o \ |
| 605 | eval.o floatfns.o fns.o print.o lread.o \ | 605 | eval.o floatfns.o fns.o print.o lread.o \ |
| 606 | abbrev.o syntax.o UNEXEC bytecode.o \ | 606 | syntax.o UNEXEC bytecode.o \ |
| 607 | process.o callproc.o \ | 607 | process.o callproc.o \ |
| 608 | region-cache.o sound.o atimer.o \ | 608 | region-cache.o sound.o atimer.o \ |
| 609 | doprnt.o strftime.o intervals.o textprop.o composite.o md5.o \ | 609 | doprnt.o strftime.o intervals.o textprop.o composite.o md5.o \ |
| @@ -1094,8 +1094,6 @@ stamp-oldxmenu: | |||
| 1094 | it is so often changed in ways that do not require any recompilation | 1094 | it is so often changed in ways that do not require any recompilation |
| 1095 | and so rarely changed in ways that do require any. */ | 1095 | and so rarely changed in ways that do require any. */ |
| 1096 | 1096 | ||
| 1097 | abbrev.o: abbrev.c buffer.h window.h dispextern.h commands.h charset.h \ | ||
| 1098 | syntax.h $(config_h) | ||
| 1099 | buffer.o: buffer.c buffer.h region-cache.h commands.h window.h \ | 1097 | buffer.o: buffer.c buffer.h region-cache.h commands.h window.h \ |
| 1100 | dispextern.h $(INTERVAL_SRC) blockinput.h atimer.h systime.h charset.h \ | 1098 | dispextern.h $(INTERVAL_SRC) blockinput.h atimer.h systime.h charset.h \ |
| 1101 | $(config_h) | 1099 | $(config_h) |
| @@ -1279,7 +1277,7 @@ composite.o: composite.c buffer.h charset.h $(INTERVAL_SRC) $(config_h) | |||
| 1279 | sunfns.o: sunfns.c buffer.h window.h dispextern.h termhooks.h $(config_h) | 1277 | sunfns.o: sunfns.c buffer.h window.h dispextern.h termhooks.h $(config_h) |
| 1280 | 1278 | ||
| 1281 | #ifdef HAVE_CARBON | 1279 | #ifdef HAVE_CARBON |
| 1282 | abbrev.o buffer.o callint.o cmds.o dispnew.o editfns.o fileio.o frame.o \ | 1280 | buffer.o callint.o cmds.o dispnew.o editfns.o fileio.o frame.o \ |
| 1283 | fontset.o indent.o insdel.o keyboard.o macros.o minibuf.o msdos.o process.o \ | 1281 | fontset.o indent.o insdel.o keyboard.o macros.o minibuf.o msdos.o process.o \ |
| 1284 | scroll.o sysdep.o term.o terminal.o widget.o window.o xdisp.o xfaces.o xfns.o xmenu.o \ | 1282 | scroll.o sysdep.o term.o terminal.o widget.o window.o xdisp.o xfaces.o xfns.o xmenu.o \ |
| 1285 | xterm.o xselect.o sound.o: macgui.h | 1283 | xterm.o xselect.o sound.o: macgui.h |