Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rewrite abbrev.c in Elisp. | Stefan Monnier | 2007-10-28 | 1 | -803/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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". | ||||
* | * buffer.c (syms_of_buffer) <local-abbrev-table>: Move from abbrev.c. | Stefan Monnier | 2007-10-02 | 1 | -3/+0 |
| | | | | | | | (DEFVAR_PER_BUFFER, defvar_per_buffer): Move from lisp.h and lread.c. * lisp.h (defvar_per_buffer, DEFVAR_PER_BUFFER): * lread.c (defvar_per_buffer): * abbrev.c (syms_of_abbrev) <local-abbrev-tabl>: Move to buffer.c. | ||||
* | Merge from emacs--rel--22 | Miles Bader | 2007-07-26 | 1 | -1/+1 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * emacs--rel--22 (patch 70-73) - Update from CVS 2007-07-25 Glenn Morris <rgm@gnu.org> * Relicense all FSF files to GPLv3 or later. Revision: emacs@sv.gnu.org/emacs--devo--0--patch-828 | ||||
| * | Switch license to GPLv3 or later. | Glenn Morris | 2007-07-25 | 1 | -1/+1 |
| | | |||||
* | | (abbrev_check_chars): New function. | Glenn Morris | 2007-07-17 | 1 | -2/+72 |
|/ | | | | | (Fdefine_global_abbrev, Fdefine_mode_abbrev): Call abbrev_check_chars to check abbrev characters are word constituents. Doc fix. | ||||
* | (Fdefine_abbrev): Doc fix. | Richard M. Stallman | 2007-04-22 | 1 | -1/+1 |
| | |||||
* | Add 2007 to copyright years. | Glenn Morris | 2007-01-21 | 1 | -1/+1 |
| | |||||
* | (syms_of_abbrev) <last-abbrev-text>: Doc fix. | Juanma Barranquero | 2006-12-10 | 1 | -1/+1 |
| | |||||
* | (Qforce): New Lisp_Object. | Glenn Morris | 2006-12-05 | 1 | -3/+18 |
| | | | | | | (Fdefine_abbrev): Do not overwrite non-system abbrevs with system abbrevs, unless 'force is applied. (syms_of_abbrev): Add Qforce. | ||||
* | (Finsert_abbrev_table_description): Sort the abbrevs alphabetically. | Richard M. Stallman | 2006-04-18 | 1 | -2/+24 |
| | | | | (record_symbol): New function. | ||||
* | Update years in copyright notice; nfc. | Thien-Thi Nguyen | 2006-02-06 | 1 | -1/+1 |
| | |||||
* | Update years in copyright notice; nfc. | Thien-Thi Nguyen | 2005-08-07 | 1 | -2/+2 |
| | |||||
* | Update FSF's address. | Lute Kamstra | 2005-07-04 | 1 | -2/+2 |
| | |||||
* | (Funexpand_abbrev): Follow error conventions. | Juanma Barranquero | 2005-06-23 | 1 | -1/+1 |
| | |||||
* | (Fexpand_abbrev): Undo previous change. | Richard M. Stallman | 2004-07-31 | 1 | -2/+2 |
| | |||||
* | (Fexpand_abbrev): Run Qpre_abbrev_expand_hook | Richard M. Stallman | 2004-07-24 | 1 | -2/+2 |
| | | | | only when a real abbrev is present. | ||||
* | Update copyright. | Kim F. Storm | 2004-06-16 | 1 | -1/+1 |
| | |||||
* | (Finsert_abbrev_table_description): Doc fix. | Luc Teirlinck | 2004-02-24 | 1 | -1/+2 |
| | |||||
* | Add arch taglines | Miles Bader | 2003-09-01 | 1 | -0/+3 |
| | |||||
* | (Fexpand_abbrev): Insert before deleting. | Richard M. Stallman | 2003-08-29 | 1 | -2/+5 |
| | |||||
* | (Fdefine_abbrev_table): Use XCAR, XCDR. | Stefan Monnier | 2003-04-17 | 1 | -2/+2 |
| | |||||
* | Trailing whitespace deleted. | Juanma Barranquero | 2003-02-04 | 1 | -1/+1 |
| | |||||
* | (Fexpand_abbrev): Fix for the multibyte case. | Kenichi Handa | 2002-08-20 | 1 | -7/+21 |
| | |||||
* | Most uses of XSTRING combined with STRING_BYTES or indirection changed to | Ken Raeburn | 2002-07-15 | 1 | -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 and | Ken Raeburn | 2002-05-20 | 1 | -1/+1 |
| | | | | name field. | ||||
* | (abbrev-start-location): Doc fix. | Pavel Janík | 2002-04-25 | 1 | -3/+3 |
| | |||||
* | Add comment of arbitrary chosen constant 59. | Pavel Janík | 2002-04-22 | 1 | -0/+1 |
| | |||||
* | Change defvar_int def and vars to use EMACS_INT instead of just int. | Stefan Monnier | 2002-03-04 | 1 | -1/+1 |
| | |||||
* | (Fexpand_abbrev): Increment plist as use count only if it is an integer. | Richard M. Stallman | 2002-03-03 | 1 | -1/+1 |
| | |||||
* | * abbrev.c (Fexpand_abbrev): Use NILP instead of implicit zero | Ken Raeburn | 2001-12-29 | 1 | -1/+1 |
| | | | | comparison to test lisp value returned by Fget. | ||||
* | Use the plist of an abbrev for multiple params if nec. | Richard M. Stallman | 2001-12-28 | 1 | -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. Stallman | 2001-11-26 | 1 | -2/+1 |
| | |||||
* | Update usage of CHECK_ macros (remove unused second argument). | Pavel Janík | 2001-11-02 | 1 | -10/+10 |
| | |||||
* | (Finsert_abbrev_table_description): Reindent. | Pavel Janík | 2001-10-21 | 1 | -1/+1 |
| | |||||
* | Change doc-string comments to `new style' [w/`doc:' keyword]. | Miles Bader | 2001-10-17 | 1 | -54/+54 |
| | |||||
* | Put doc strings in comments. | Pavel Janík | 2001-10-15 | 1 | -85/+86 |
| | |||||
* | Use SYMBOL_VALUE/ SET_SYMBOL_VALUE macros instead of accessing | Gerd Moellmann | 2001-10-05 | 1 | -12/+14 |
| | | | | symbols' value directly. | ||||
* | (syms_of_abbrev): Set buffer_default's abbrev table | Gerd Moellmann | 2000-06-19 | 1 | -0/+1 |
| | | | | to Vfundamental_mode_abbrev_table. | ||||
* | Comment change. | Richard M. Stallman | 2000-01-21 | 1 | -4/+7 |
| | |||||
* | (Fexpand_abbrev): If expanding an abbrev which has only | Gerd Moellmann | 1999-12-30 | 1 | -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 Moellmann | 1999-09-20 | 1 | -1/+0 |
| | |||||
* | (Fdefine_abbrev): Doc fix. | Richard M. Stallman | 1999-05-18 | 1 | -1/+3 |
| | |||||
* | Include charset.h. | Kenichi Handa | 1998-11-16 | 1 | -0/+1 |
| | |||||
* | (Funexpand_abbrev): Add ADJUST instead of subtracting. | Richard M. Stallman | 1998-08-05 | 1 | -1/+1 |
| | |||||
* | Fix -Wimplicit warnings. | Andreas Schwab | 1998-04-14 | 1 | -0/+1 |
| | |||||
* | Use STRING_BYTES and SET_STRING_BYTES. | Richard M. Stallman | 1998-03-21 | 1 | -3/+3 |
| | |||||
* | Reorder args of del_range_both. | Karl Heuer | 1998-02-25 | 1 | -1/+1 |
| | |||||
* | Update copyright year. | Richard M. Stallman | 1998-01-21 | 1 | -1/+1 |
| | |||||
* | (Fexpand_abbrev): Pass both kinds of size to oblookup. | Richard M. Stallman | 1998-01-05 | 1 | -6/+10 |
| | | | | | (Fexpand_abbrev): Pass new args to insert_from_string. (Funexpand_abbrev): Likewise. Use size_byte. | ||||
* | Update copyright year. | Richard M. Stallman | 1998-01-01 | 1 | -1/+1 |
| |