1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-26 23:31:55 -08:00
Commit graph

41 commits

Author SHA1 Message Date
Gerd Moellmann
c8bb816774 (syms_of_abbrev): Set buffer_default's abbrev table
to Vfundamental_mode_abbrev_table.
2000-06-19 15:58:23 +00:00
Richard M. Stallman
c87dbfd03c Comment change. 2000-01-21 02:22:56 +00:00
Gerd Moellmann
79d2af9c26 (Fexpand_abbrev): If expanding an abbrev which has only
a hook, and the hook has a non-nil `no-self-insert' property, let
the return value of the hook specify whether an expansion took
place.  If it returns nil, no expansion has been performed.
1999-12-30 12:26:53 +00:00
Gerd Moellmann
11017f88a3 (Fexpand_abbrev): Remove unused variables. 1999-09-20 00:34:35 +00:00
Richard M. Stallman
ea02eb562d (Fdefine_abbrev): Doc fix. 1999-05-18 04:47:26 +00:00
Kenichi Handa
9192a0270d Include charset.h. 1998-11-16 01:17:06 +00:00
Richard M. Stallman
57522629c8 (Funexpand_abbrev): Add ADJUST instead of subtracting. 1998-08-05 14:59:09 +00:00
Andreas Schwab
dfcf069d56 Fix -Wimplicit warnings. 1998-04-14 12:25:56 +00:00
Richard M. Stallman
fc932ac6c7 Use STRING_BYTES and SET_STRING_BYTES. 1998-03-21 07:06:14 +00:00
Karl Heuer
bc69581bb2 Reorder args of del_range_both. 1998-02-25 23:16:37 +00:00
Richard M. Stallman
4a2f9c6aef Update copyright year. 1998-01-21 23:32:12 +00:00
Richard M. Stallman
fc41268605 (Fexpand_abbrev): Pass both kinds of size to oblookup.
(Fexpand_abbrev): Pass new args to insert_from_string.
(Funexpand_abbrev): Likewise.  Use size_byte.
1998-01-05 17:25:39 +00:00
Richard M. Stallman
604ee0f3ab Update copyright year. 1998-01-01 06:51:31 +00:00
Richard M. Stallman
aa406bac5f (describe_abbrev): Return void.
(write_abbrev): Return void.
(Fexpand_abbrev): Scan in bytepos along with charpos.
(Funexpand_abbrev): Use bytepos to delete the expansion.
1997-12-31 05:05:32 +00:00
Karl Heuer
fc44dfab72 Change FETCH_CHAR references to FETCH_BYTE. 1997-02-22 19:26:15 +00:00
Richard M. Stallman
f530ce2748 (Fexpand_abbrev): Return the abbrev symbol, or nil if no expansion. 1996-12-26 20:53:54 +00:00
Richard M. Stallman
b7734773b9 (Fexpand_abbrev): If the abbrev's expansion is nil,
don't expand it, but do still call the hook.
(Fdefine_abbrev): Allow anything for EXPANSION.
1996-11-12 04:13:06 +00:00
Erik Naggum
a0d76c279e Reorganize function definitions so etags finds them. 1996-10-31 13:43:37 +00:00
Karl Heuer
6ec8bbd20d Change all references from point to PT. 1996-09-01 19:15:05 +00:00
Erik Naggum
3b7ad313e0 Update FSF's address in the preamble. 1996-01-15 09:18:04 +00:00
Karl Heuer
b9d613cc8a (Fdefine_abbrev_table): Fix previous change. 1996-01-09 03:01:48 +00:00
Erik Naggum
78ce396ad1 (Fdefine_global_abbrev, Fdefine_mode_abbrev, Fabbrev_symbol,
Finsert_abbrev_table_description, Fdefine_abbrev_table): Harmonize
arguments with documentation.
1996-01-09 00:18:22 +00:00
Karl Heuer
4aa6e42452 (Fexpand_abbrev): Call to upcase_initials_region
changed to Fupcase_initials_region for consistency.
1995-06-06 01:46:33 +00:00
Richard M. Stallman
aba686ed10 Comment change. 1995-04-25 05:16:29 +00:00
Karl Heuer
dc7e2b301d (Fexpand_abbrev): Add some error checking. 1995-04-20 21:15:39 +00:00
Karl Heuer
2a43e2bcc4 (Fexpand_abbrev): Don't use XFASTINT as an lvalue. 1994-10-04 15:28:15 +00:00
Karl Heuer
6520d056e8 (write_abbrev, Finsert_abbrev_table_description): Use new accessor macros
instead of calling XSET directly.
1994-10-04 11:39:56 +00:00
Karl Heuer
09e82d7cd7 (Fdefine_abbrev, Fexpand_abbrev, Funexpand_abbrev): Use type test macros. 1994-09-27 03:12:28 +00:00
Richard M. Stallman
7169beb147 (Fexpand_abbrev): Instead of Fcapitalize_region,
just upcase the first initial.
1994-09-24 03:47:07 +00:00
Richard M. Stallman
0c28711271 (Funexpand_abbrev, Fexpand_abbrev): Pass new arg to insert_from_string. 1993-09-14 12:10:27 +00:00
Roland McGrath
18160b98ce Include <config.h> instead of "config.h". 1993-09-10 06:15:46 +00:00
Jim Blandy
c6c5df7f76 Updated copyright years. 1993-05-22 21:34:42 +00:00
Jim Blandy
2471a2815b * abbrev.c (Fexpand_abbrev): Only copy the text we're going to
expand - from wordstart to wordend, not from wordstart to point -
	into the buffer.  There might be non-word text between wordend and
	point.
1993-02-23 14:17:11 +00:00
Jim Blandy
4458687ccf * abbrev.c (Funexpand_abbrev): Just assign the last abbrev's value
to val; don't use XSET.  Make sure that the value of the
	abbrev-symbol is a string.
1992-10-31 04:49:31 +00:00
Jim Blandy
c89475dcaa * abbrev.c (syms_of_abbrev): Call DEFVAR_PER_BUFFER with the new
TYPE argument.
1992-08-19 07:06:09 +00:00
Richard M. Stallman
ba70da8ff5 (Fexpand_abbrev): If pre-expand hook changes the buffer,
assume that means we "did an expansion".
1992-08-19 07:00:25 +00:00
Jim Blandy
0292bcb174 * abbrev.c (Fdefine_abbrev_table): Fiddled with formatting. 1992-08-14 02:32:45 +00:00
Jim Blandy
d427b66a66 entered into RCS 1992-01-13 21:48:03 +00:00
Richard M. Stallman
dbd7a9698c *** empty log message *** 1991-12-17 03:36:07 +00:00
Jim Blandy
4d6cebd875 *** empty log message *** 1991-08-16 05:24:51 +00:00
Richard M. Stallman
7942b8aeb7 Initial revision 1990-12-25 23:11:33 +00:00