Chong Yidong
434c0be6cc
(define-abbrev): Doc fix.
2008-10-17 21:25:58 +00:00
Stefan Monnier
f68cfe84eb
(unexpand-abbrev): Better preserve markers.
2008-06-05 05:06:58 +00:00
Juanma Barranquero
d239a0555b
(define-abbrev-table): Don't use `iff' in docstring.
2008-05-08 03:35:38 +00:00
Glenn Morris
eb3fa2cfcf
Switch to recommended form of GPLv3 permissions notice.
2008-05-06 08:06:51 +00:00
Glenn Morris
64f00939e0
(define-abbrev): Don't use `iff' in doc-strings.
2008-04-26 02:33:08 +00:00
Stefan Monnier
9e2a4d4d37
(define-abbrev-table): Apply props even if the table exists already.
2008-04-26 01:59:04 +00:00
Stefan Monnier
a3709a8c26
(abbrev-insert): New function extracted from expand-abbrev.
...
(expand-abbrev): Use it.
(abbrev-table-menu): New function.
2008-04-17 19:54:00 +00:00
Stefan Monnier
da59e7b21b
Docstring improvements.
2008-04-17 17:40:52 +00:00
Stefan Monnier
e1ca6a5b68
(define-abbrev-table): Fontify dosctrings as such.
2008-04-17 15:38:39 +00:00
Stefan Monnier
497afe074a
(abbrev-mode): Use define-minor-mode.
2008-04-01 08:36:57 +00:00
Dan Nicolaescu
f31b125795
* faces.el (xw-defined-colors):
...
* simple.el (widget-convert, shell-mode): Declare as functions
instead of autoloading.
* abbrev.el:
* button.el:
* cus-face.el:
* ediff-hook.el:
* emacs-lisp/backquote.el:
* emacs-lisp/timer.el:
* facemenu.el:
* faces.el:
* menu-bar.el:
* simple.el:
* subr.el:
* textmodes/fill.el:
* textmodes/paragraphs.el: Remove autoloads, redundant when the
files are preloaded.
2008-03-14 17:42:18 +00:00
Stefan Monnier
938a9a9e11
(clear-abbrev-table): Can't pass a symbol to intern.
2008-01-14 20:17:52 +00:00
Miles Bader
59ce725a3b
Merge from emacs--rel--22
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
2008-01-08 20:46:54 +00:00
Glenn Morris
409cc4a3ea
Add 2008 to copyright years.
2008-01-07 02:45:14 +00:00
Stefan Monnier
0b281d035a
(kill-all-abbrevs, insert-abbrevs, prepare-abbrev-list-buffer): Use dolist.
...
(clear-abbrev-table): Preserve properties.
2007-11-18 19:32:53 +00:00
Stefan Monnier
d548715ceb
(abbrev--write): Fix error in transcription from C.
2007-11-16 18:27:07 +00:00
Stefan Monnier
4eebd7fe04
(define-abbrev-table): Record the variable definition.
2007-11-09 16:07:18 +00:00
Stefan Monnier
e486b005a9
(abbrev--write): Fix up typo.
2007-11-05 04:28:32 +00:00
Juanma Barranquero
f57a951212
(define-abbrev-table): Doc fix.
2007-11-04 23:01:15 +00:00
Stefan Monnier
1449012d63
(expand-abbrev): Move point back to expansion's end.
2007-11-04 02:57:52 +00:00
Stefan Monnier
2b86bfb1fd
(abbrev-symbol): Correct let->let*.
...
(abbrev--before-point): Only use abbrev-start-location if before point.
2007-10-31 15:47:02 +00:00
Stefan Monnier
79415279b3
Rename count' and
system-flag' to :count and :system. Update all users.
...
(abbrev-get, abbrev-put): Simplify.
(define-abbrev): Don't store the `force' value in the :system property.
(abbrev--before-point): Obey the :enable-function of the abbrev as well.
2007-10-30 01:39:19 +00:00
Stefan Monnier
e047f44883
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".
2007-10-28 02:41:00 +00:00
Glenn Morris
4837b516ea
Replace `iff' in doc-strings and comments.
2007-08-08 07:40:09 +00:00
Glenn Morris
b4aa60262c
Switch license to GPLv3 or later.
2007-07-25 04:50:21 +00:00
Richard M. Stallman
c06d4c1f64
(abbrev): Add `provide'.
2007-03-09 22:02:50 +00:00
Glenn Morris
d7a0267c8d
Add 2007 to copyright years.
2007-01-21 03:53:13 +00:00
Glenn Morris
e91081eb9e
Update copyright years.
2006-12-05 06:15:26 +00:00
Stefan Monnier
65f21967e4
(abbrev-mode): Tighten the safety predicate.
2006-04-29 13:56:50 +00:00
Stefan Monnier
21a360b2c3
(abbrev-mode): Tighten up a bit the safety predicate.
2006-04-26 05:16:01 +00:00
Reiner Steib
ec7793c3a6
(read-abbrev-file): Use abbrev-file-name if optional
...
file is nil.
2006-04-18 22:04:27 +00:00
Richard M. Stallman
4cabf12bbc
(edit-abbrevs-redefine): Temporarily widen.
...
(read-abbrev-file): Provide default when reading filename.
2006-04-18 21:16:13 +00:00
Reiner Steib
6c07f4d42a
* files.el: Move some `safe-local-variable' declarations to the
...
respective files.
* textmodes/ispell.el (ispell-check-comments)
(ispell-local-dictionary): Mark as safe.
* abbrev.el (abbrev-mode): Mark as safe.
* add-log.el (change-log-default-name): Mark as safe.
* textmodes/reftex-vars.el (reftex-vref-is-default)
(reftex-fref-is-default, reftex-level-indent)
(reftex-guess-label-type): Mark as safe.
* textmodes/fill.el (colon-double-space): Mark as safe.
* textmodes/paragraphs.el (paragraph-start, paragraph-separate)
(sentence-end-double-space, sentence-end-without-period)
(sentence-end-without-space, sentence-end, sentence-end-base)
(page-delimiter, paragraph-ignore-fill-prefix): Mark as safe.
2006-04-06 15:36:24 +00:00
Thien-Thi Nguyen
aaef169dc6
Update years in copyright notice; nfc.
2006-02-06 15:23:23 +00:00
Thien-Thi Nguyen
0d30b33766
Update years in copyright notice; nfc.
2005-08-06 22:13:43 +00:00
Juanma Barranquero
e66b273f4d
(expand-region-abbrevs): Doc fix.
...
(inverse-add-mode-abbrev, inverse-add-global-abbrev): Improve argument/docstring
consistency.
2005-07-20 10:59:36 +00:00
Lute Kamstra
086add1519
Update FSF's address.
2005-07-04 23:32:44 +00:00
Lute Kamstra
1a96d1f37a
(edit-abbrevs-mode): Use kill-all-local-variables and run-mode-hooks.
2005-06-13 11:56:12 +00:00
Eli Zaretskii
71baa28ffb
(write-abbrev-file): Write table entries in alphabetical order
...
by table name.
2005-04-23 12:34:05 +00:00
Richard M. Stallman
2f229dc43a
(define-abbrevs): Read system abbrevs properly.
2005-04-10 23:25:56 +00:00
John Paul Wallington
e7fdaf6301
(only-global-abbrevs): Doc fix.
...
(edit-abbrevs-map): Define within defvar.
(quietly-read-abbrev-file): Doc fix.
2004-08-01 03:56:05 +00:00
Richard M. Stallman
38002bffc7
(abbrev-mode, edit-abbrevs-map): Doc fixes.
2004-06-13 21:55:49 +00:00
Luc Teirlinck
68063965ae
(write-abbrev-file): Make argument optional. Doc fix.
...
(abbrev-prefix-mark): Doc fix.
2004-02-24 03:25:33 +00:00
Miles Bader
ab5796a9f9
Add arch taglines
2003-09-01 15:45:59 +00:00
Juanma Barranquero
71296446d3
Trailing whitespace deleted.
2003-02-04 11:26:42 +00:00
Dave Love
a166f62348
(write-abbrev-file): Simplify, and put a coding cookie
...
in the file.
2003-01-23 20:37:49 +00:00
Stefan Monnier
3004cff449
(write-abbrev-file): Don't hardcode point-min == 1.
2002-09-27 19:51:58 +00:00
Richard M. Stallman
ad9d51b211
(copy-abbrev-table): New function.
2002-09-12 03:19:25 +00:00
Pavel Janík
7cfedc97a2
Remove unnecessary whitespaces.
2002-01-05 19:02:27 +00:00
Stefan Monnier
1508c0c8da
Doc fix.
2001-11-16 14:15:23 +00:00