From 754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sun, 7 Apr 2024 13:41:34 -0500 Subject: new repository --- devdocs/elisp/abbrev-table-properties.html | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 devdocs/elisp/abbrev-table-properties.html (limited to 'devdocs/elisp/abbrev-table-properties.html') diff --git a/devdocs/elisp/abbrev-table-properties.html b/devdocs/elisp/abbrev-table-properties.html new file mode 100644 index 00000000..342f599f --- /dev/null +++ b/devdocs/elisp/abbrev-table-properties.html @@ -0,0 +1,15 @@ +

Abbrev Table Properties

Like abbrevs, abbrev tables have properties, some of which influence the way they work. You can provide them as arguments to define-abbrev-table, and manipulate them with the functions:

Function: abbrev-table-put table prop val +

Set the property prop of abbrev table table to value val.

+
Function: abbrev-table-get table prop +

Return the property prop of abbrev table table, or nil if table has no such property.

+

The following properties have special meaning:

:enable-function
+

This is like the :enable-function abbrev property except that it applies to all abbrevs in the table. It is used before even trying to find the abbrev before point, so it can dynamically modify the abbrev table.

:case-fixed
+

This is like the :case-fixed abbrev property except that it applies to all abbrevs in the table.

:regexp
+

If non-nil, this property is a regular expression that indicates how to extract the name of the abbrev before point, before looking it up in the table. When the regular expression matches before point, the abbrev name is expected to be in submatch 1. If this property is nil, the default is to use backward-word and forward-word to find the name. This property allows the use of abbrevs whose name contains characters of non-word syntax.

:parents
+

This property holds a list of tables from which to inherit other abbrevs.

:abbrev-table-modiff
+

This property holds a counter incremented each time a new abbrev is added to the table.

+

+ Copyright © 1990-1996, 1998-2022 Free Software Foundation, Inc.
Licensed under the GNU GPL license.
+ https://www.gnu.org/software/emacs/manual/html_node/elisp/Abbrev-Table-Properties.html +

+
-- cgit v1.2.3