Thien-Thi Nguyen
0b5538bd85
Update years in copyright notice; nfc.
2005-08-07 12:33:19 +00:00
Lute Kamstra
4fc5845fe8
Update FSF's address.
2005-07-04 16:49:24 +00:00
Juanma Barranquero
d4db983a99
(Funexpand_abbrev): Follow error conventions.
2005-06-23 16:04:28 +00:00
Richard M. Stallman
451eaa2138
(Fexpand_abbrev): Undo previous change.
2004-07-31 03:37:21 +00:00
Richard M. Stallman
f70de7583e
(Fexpand_abbrev): Run Qpre_abbrev_expand_hook
...
only when a real abbrev is present.
2004-07-24 21:37:11 +00:00
Kim F. Storm
a0ecb2ac8e
Update copyright.
2004-06-16 15:10:55 +00:00
Luc Teirlinck
7f144ff587
(Finsert_abbrev_table_description): Doc fix.
2004-02-24 03:32:29 +00:00
Miles Bader
ab5796a9f9
Add arch taglines
2003-09-01 15:45:59 +00:00
Richard M. Stallman
f8f096e9be
(Fexpand_abbrev): Insert before deleting.
2003-08-29 16:14:26 +00:00
Stefan Monnier
52ad5ecc6c
(Fdefine_abbrev_table): Use XCAR, XCDR.
2003-04-17 21:44:50 +00:00
Juanma Barranquero
177c0ea743
Trailing whitespace deleted.
2003-02-04 14:56:31 +00:00
Kenichi Handa
530e075167
(Fexpand_abbrev): Fix for the multibyte case.
2002-08-20 07:07:19 +00:00
Ken Raeburn
d5db40779d
Most uses of XSTRING combined with STRING_BYTES or indirection changed to
...
SCHARS, SBYTES, STRING_INTERVALS, SREF, SDATA; explicit size_byte references
left unchanged for now.
2002-07-15 00:01:34 +00:00
Ken Raeburn
caeead2003
* abbrev.c (write_abbrev): Use SYMBOL_NAME instead of XSYMBOL and
...
name field.
2002-05-20 08:04:46 +00:00
Pavel Janík
ca70e62feb
(abbrev-start-location): Doc fix.
2002-04-25 18:00:37 +00:00
Pavel Janík
da2ba5c6ab
Add comment of arbitrary chosen constant 59.
2002-04-22 15:22:31 +00:00
Stefan Monnier
31ade731e6
Change defvar_int def and vars to use EMACS_INT instead of just int.
2002-03-04 23:41:00 +00:00
Richard M. Stallman
8d3208722e
(Fexpand_abbrev): Increment plist as use count only if it is an integer.
2002-03-03 20:08:56 +00:00
Ken Raeburn
b5cb607229
* abbrev.c (Fexpand_abbrev): Use NILP instead of implicit zero
...
comparison to test lisp value returned by Fget.
2001-12-29 21:42:22 +00:00
Richard M. Stallman
2d6c1fc09a
Use the plist of an abbrev for multiple params if nec.
...
(Fdefine_abbrev): New arg SYSTEM-FLAG for a system abbrev.
(Fdefine_global_abbrev, Fdefine_mode_abbrev):
Update calls to Fdefine_abbrev.
(write_abbrev): Update for changed data format.
Don't list "system" abbrevs.
(Fexpand_abbrev): Update use count with new data format.
(describe_abbrev): Update for changed data format.
(Fdefine_abbrev_table): Handle the new SYSTEM-FLAG.
2001-12-28 22:14:38 +00:00
Richard M. Stallman
6a15331f02
(Fexpand_abbrev): Use Frun_hooks instead of Vrun_hooks.
2001-11-26 00:05:33 +00:00
Pavel Janík
b782650360
Update usage of CHECK_ macros (remove unused second argument).
2001-11-02 20:46:55 +00:00
Pavel Janík
03be269465
(Finsert_abbrev_table_description): Reindent.
2001-10-21 08:52:17 +00:00
Miles Bader
7ee72033eb
Change doc-string comments to new style' [w/doc:' keyword].
2001-10-17 03:16:12 +00:00
Pavel Janík
b39fb64b26
Put doc strings in comments.
2001-10-15 13:38:04 +00:00
Gerd Moellmann
a97569cbf2
Use SYMBOL_VALUE/ SET_SYMBOL_VALUE macros instead of accessing
...
symbols' value directly.
2001-10-05 09:51:48 +00:00
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