summaryrefslogtreecommitdiff
path: root/lisp/abbrev.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2008-04-17 17:40:52 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2008-04-17 17:40:52 +0000
commitda59e7b21b4c7eb87ee88e6abc5482cf218340ca (patch)
treea303519c7db2fb81cc5dab055bfa3e0c36584824 /lisp/abbrev.el
parente1ca6a5b681c3f86244b40245214349be9ab6cfa (diff)
downloademacs-da59e7b21b4c7eb87ee88e6abc5482cf218340ca.tar.gz
Docstring improvements.
Diffstat (limited to 'lisp/abbrev.el')
-rw-r--r--lisp/abbrev.el9
1 files changed, 4 insertions, 5 deletions
diff --git a/lisp/abbrev.el b/lisp/abbrev.el
index 5e9f1de91b9..715e6eca2c4 100644
--- a/lisp/abbrev.el
+++ b/lisp/abbrev.el
@@ -434,7 +434,7 @@ This is similar to an `around' advice."
(defun make-abbrev-table (&optional props)
"Create a new, empty abbrev table object.
-PROPS is a "
+PROPS is a list of properties."
;; The value 59 is an arbitrary prime number.
(let ((table (make-vector 59 0)))
;; Each abbrev-table has a `modiff' counter which can be used to detect
@@ -536,8 +536,8 @@ If EXPANSION is not a string, the abbrev is a special one,
which does not expand in the usual way but only runs HOOK.
PROPS is a property list. The following properties are special:
-- `:count': the value for the abbrev's usage-count, which is incremented each time
- the abbrev is used (the default is zero).
+- `:count': the value for the abbrev's usage-count, which is incremented each
+ time the abbrev is used (the default is zero).
- `:system': if non-nil, says that this is a \"system\" abbreviation
which should not be saved in the user's abbreviation file.
Unless `:system' is `force', a system abbreviation will not
@@ -880,8 +880,7 @@ Abbrevs marked as \"system abbrevs\" are omitted."
&optional docstring &rest props)
"Define TABLENAME (a symbol) as an abbrev table name.
Define abbrevs in it according to DEFINITIONS, which is a list of elements
-of the form (ABBREVNAME EXPANSION HOOK USECOUNT SYSTEMFLAG).
-\(If the list is shorter than that, omitted elements default to nil).
+of the form (ABBREVNAME EXPANSION ...) that are passed to `define-abbrev'.
PROPS is a property list to apply to the table.
Properties with special meaning:
- `:parents' contains a list of abbrev tables from which this table inherits