Mercurial > emacs
comparison src/Makefile.in @ 85710:beb909dfc54d
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".
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Sun, 28 Oct 2007 02:41:00 +0000 |
parents | 0839a29344ed |
children | 345d3b46b5d3 |
comparison
equal
deleted
inserted
replaced
85709:2dabdbde81e8 | 85710:beb909dfc54d |
---|---|
601 buffer.o filelock.o insdel.o marker.o \ | 601 buffer.o filelock.o insdel.o marker.o \ |
602 minibuf.o fileio.o dired.o filemode.o \ | 602 minibuf.o fileio.o dired.o filemode.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 \ |
610 $(MSDOS_OBJ) $(MAC_OBJ) $(CYGWIN_OBJ) | 610 $(MSDOS_OBJ) $(MAC_OBJ) $(CYGWIN_OBJ) |
611 | 611 |
1092 /* Nearly all the following files depend on lisp.h, | 1092 /* Nearly all the following files depend on lisp.h, |
1093 but it is not included as a dependency because | 1093 but it is not included as a dependency because |
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) |
1102 callint.o: callint.c window.h commands.h buffer.h keymap.h \ | 1100 callint.o: callint.c window.h commands.h buffer.h keymap.h \ |
1103 keyboard.h dispextern.h $(config_h) | 1101 keyboard.h dispextern.h $(config_h) |
1277 select which of these should be compiled. */ | 1275 select which of these should be compiled. */ |
1278 | 1276 |
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 |
1286 mac.o: mac.c process.h sysselect.h blockinput.h atimer.h systime.h charset.h \ | 1284 mac.o: mac.c process.h sysselect.h blockinput.h atimer.h systime.h charset.h \ |
1287 coding.h ccl.h $(config_h) | 1285 coding.h ccl.h $(config_h) |