1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-20 10:23:57 +00:00
Commit Graph

68 Commits

Author SHA1 Message Date
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
Richard M. Stallman
d0b6d945bb (read-abbrev-file): Don't set save-abbrevs.
(quietly-read-abbrev-file): Doc fix.
2001-11-11 01:49:05 +00:00
Pavel Janík
6228c05b99 Keyword added and FSF specified as Maintainer. 2001-08-06 10:12:17 +00:00
Gerd Moellmann
25160ec081 (prepare-abbrev-list-buffer): Get the value of
local-abbrev-table before changing buffers because it might
have a buffer-local binding.
2000-11-28 13:57:29 +00:00
Gerd Moellmann
c88a9944d6 (list-abbrevs): Add optional parameter LOCAL.
(abbrev-table-name): New function.
(prepare-abbrev-list-buffer): Add optional parameter LOCAL.
If non-nil list local abbrev, only.
2000-08-28 16:07:10 +00:00
Gerd Moellmann
68d9550fa3 (abbrev-mode): Make ARG optional. 2000-05-05 13:21:04 +00:00
Gerd Moellmann
466840685f (inverse-add-abbrev): Identify word by first moving
forward then moving backward.  Reindent.
2000-03-17 22:32:39 +00:00
Dave Love
34f3cd03ec (add-abbrev, inverse-add-abbrev, expand-region-abbrevs): Remove
properties from buffer text.
1999-10-18 21:28:04 +00:00
Richard M. Stallman
5cf1c7acbf (abbrev-mode): Customizing sets the default value. 1999-04-08 16:26:38 +00:00
Karl Heuer
25f67e4bc9 *** empty log message *** 1999-03-30 21:37:40 +00:00
Karl Heuer
2002162195 (abbrev-mode): Doc fix. 1999-03-30 21:27:20 +00:00