summaryrefslogtreecommitdiff
path: root/src/abbrev.c
Commit message (Collapse)AuthorAgeFilesLines
* (Fexpand_abbrev): Fix for the multibyte case.Kenichi Handa2002-08-201-7/+21
|
* Most uses of XSTRING combined with STRING_BYTES or indirection changed toKen Raeburn2002-07-151-5/+5
| | | | | SCHARS, SBYTES, STRING_INTERVALS, SREF, SDATA; explicit size_byte references left unchanged for now.
* * abbrev.c (write_abbrev): Use SYMBOL_NAME instead of XSYMBOL andKen Raeburn2002-05-201-1/+1
| | | | name field.
* (abbrev-start-location): Doc fix.Pavel Janík2002-04-251-3/+3
|
* Add comment of arbitrary chosen constant 59.Pavel Janík2002-04-221-0/+1
|
* Change defvar_int def and vars to use EMACS_INT instead of just int.Stefan Monnier2002-03-041-1/+1
|
* (Fexpand_abbrev): Increment plist as use count only if it is an integer.Richard M. Stallman2002-03-031-1/+1
|
* * abbrev.c (Fexpand_abbrev): Use NILP instead of implicit zeroKen Raeburn2001-12-291-1/+1
| | | | comparison to test lisp value returned by Fget.
* Use the plist of an abbrev for multiple params if nec.Richard M. Stallman2001-12-281-21/+80
| | | | | | | | | | | (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.
* (Fexpand_abbrev): Use Frun_hooks instead of Vrun_hooks.Richard M. Stallman2001-11-261-2/+1
|
* Update usage of CHECK_ macros (remove unused second argument).Pavel Janík2001-11-021-10/+10
|
* (Finsert_abbrev_table_description): Reindent.Pavel Janík2001-10-211-1/+1
|
* Change doc-string comments to `new style' [w/`doc:' keyword].Miles Bader2001-10-171-54/+54
|
* Put doc strings in comments.Pavel Janík2001-10-151-85/+86
|
* Use SYMBOL_VALUE/ SET_SYMBOL_VALUE macros instead of accessingGerd Moellmann2001-10-051-12/+14
| | | | symbols' value directly.
* (syms_of_abbrev): Set buffer_default's abbrev tableGerd Moellmann2000-06-191-0/+1
| | | | to Vfundamental_mode_abbrev_table.
* Comment change.Richard M. Stallman2000-01-211-4/+7
|
* (Fexpand_abbrev): If expanding an abbrev which has onlyGerd Moellmann1999-12-301-1/+14
| | | | | | 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.
* (Fexpand_abbrev): Remove unused variables.Gerd Moellmann1999-09-201-1/+0
|
* (Fdefine_abbrev): Doc fix.Richard M. Stallman1999-05-181-1/+3
|
* Include charset.h.Kenichi Handa1998-11-161-0/+1
|
* (Funexpand_abbrev): Add ADJUST instead of subtracting.Richard M. Stallman1998-08-051-1/+1
|
* Fix -Wimplicit warnings.Andreas Schwab1998-04-141-0/+1
|
* Use STRING_BYTES and SET_STRING_BYTES.Richard M. Stallman1998-03-211-3/+3
|
* Reorder args of del_range_both.Karl Heuer1998-02-251-1/+1
|
* Update copyright year.Richard M. Stallman1998-01-211-1/+1
|
* (Fexpand_abbrev): Pass both kinds of size to oblookup.Richard M. Stallman1998-01-051-6/+10
| | | | | (Fexpand_abbrev): Pass new args to insert_from_string. (Funexpand_abbrev): Likewise. Use size_byte.
* Update copyright year.Richard M. Stallman1998-01-011-1/+1
|
* (describe_abbrev): Return void.Richard M. Stallman1997-12-311-14/+27
| | | | | | (write_abbrev): Return void. (Fexpand_abbrev): Scan in bytepos along with charpos. (Funexpand_abbrev): Use bytepos to delete the expansion.
* Change FETCH_CHAR references to FETCH_BYTE.Karl Heuer1997-02-221-2/+2
|
* (Fexpand_abbrev): Return the abbrev symbol, or nil if no expansion.Richard M. Stallman1996-12-261-7/+7
|
* (Fexpand_abbrev): If the abbrev's expansion is nil,Richard M. Stallman1996-11-121-38/+48
| | | | | don't expand it, but do still call the hook. (Fdefine_abbrev): Allow anything for EXPANSION.
* Reorganize function definitions so etags finds them.Erik Naggum1996-10-311-3/+2
|
* Change all references from point to PT.Karl Heuer1996-09-011-11/+11
|
* Update FSF's address in the preamble.Erik Naggum1996-01-151-1/+2
|
* (Fdefine_abbrev_table): Fix previous change.Karl Heuer1996-01-091-5/+4
|
* (Fdefine_global_abbrev, Fdefine_mode_abbrev, Fabbrev_symbol,Erik Naggum1996-01-091-20/+20
| | | | | Finsert_abbrev_table_description, Fdefine_abbrev_table): Harmonize arguments with documentation.
* (Fexpand_abbrev): Call to upcase_initials_regionKarl Heuer1995-06-061-2/+2
| | | | changed to Fupcase_initials_region for consistency.
* Comment change.Richard M. Stallman1995-04-251-0/+2
|
* (Fexpand_abbrev): Add some error checking.Karl Heuer1995-04-201-3/+7
|
* (Fexpand_abbrev): Don't use XFASTINT as an lvalue.Karl Heuer1994-10-041-1/+1
|
* (write_abbrev, Finsert_abbrev_table_description): Use new accessor macrosKarl Heuer1994-10-041-2/+2
| | | | instead of calling XSET directly.
* (Fdefine_abbrev, Fexpand_abbrev, Funexpand_abbrev): Use type test macros.Karl Heuer1994-09-271-7/+7
|
* (Fexpand_abbrev): Instead of Fcapitalize_region,Richard M. Stallman1994-09-241-8/+8
| | | | just upcase the first initial.
* (Funexpand_abbrev, Fexpand_abbrev): Pass new arg to insert_from_string.Richard M. Stallman1993-09-141-2/+3
|
* Include <config.h> instead of "config.h".Roland McGrath1993-09-101-1/+1
|
* Updated copyright years.Jim Blandy1993-05-221-1/+1
|
* * abbrev.c (Fexpand_abbrev): Only copy the text we're going toJim Blandy1993-02-231-1/+1
| | | | | | expand - from wordstart to wordend, not from wordstart to point - into the buffer. There might be non-word text between wordend and point.
* * abbrev.c (Funexpand_abbrev): Just assign the last abbrev's valueJim Blandy1992-10-311-1/+3
| | | | | to val; don't use XSET. Make sure that the value of the abbrev-symbol is a string.
* * abbrev.c (syms_of_abbrev): Call DEFVAR_PER_BUFFER with the newJim Blandy1992-08-191-5/+5
| | | | TYPE argument.