aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2008-04-17 17:40:52 +0000
committerStefan Monnier2008-04-17 17:40:52 +0000
commitda59e7b21b4c7eb87ee88e6abc5482cf218340ca (patch)
treea303519c7db2fb81cc5dab055bfa3e0c36584824
parente1ca6a5b681c3f86244b40245214349be9ab6cfa (diff)
downloademacs-da59e7b21b4c7eb87ee88e6abc5482cf218340ca.tar.gz
emacs-da59e7b21b4c7eb87ee88e6abc5482cf218340ca.zip
Docstring improvements.
-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."
434 434
435(defun make-abbrev-table (&optional props) 435(defun make-abbrev-table (&optional props)
436 "Create a new, empty abbrev table object. 436 "Create a new, empty abbrev table object.
437PROPS is a " 437PROPS is a list of properties."
438 ;; The value 59 is an arbitrary prime number. 438 ;; The value 59 is an arbitrary prime number.
439 (let ((table (make-vector 59 0))) 439 (let ((table (make-vector 59 0)))
440 ;; Each abbrev-table has a `modiff' counter which can be used to detect 440 ;; 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,
536 which does not expand in the usual way but only runs HOOK. 536 which does not expand in the usual way but only runs HOOK.
537 537
538PROPS is a property list. The following properties are special: 538PROPS is a property list. The following properties are special:
539- `:count': the value for the abbrev's usage-count, which is incremented each time 539- `:count': the value for the abbrev's usage-count, which is incremented each
540 the abbrev is used (the default is zero). 540 time the abbrev is used (the default is zero).
541- `:system': if non-nil, says that this is a \"system\" abbreviation 541- `:system': if non-nil, says that this is a \"system\" abbreviation
542 which should not be saved in the user's abbreviation file. 542 which should not be saved in the user's abbreviation file.
543 Unless `:system' is `force', a system abbreviation will not 543 Unless `:system' is `force', a system abbreviation will not
@@ -880,8 +880,7 @@ Abbrevs marked as \"system abbrevs\" are omitted."
880 &optional docstring &rest props) 880 &optional docstring &rest props)
881 "Define TABLENAME (a symbol) as an abbrev table name. 881 "Define TABLENAME (a symbol) as an abbrev table name.
882Define abbrevs in it according to DEFINITIONS, which is a list of elements 882Define abbrevs in it according to DEFINITIONS, which is a list of elements
883of the form (ABBREVNAME EXPANSION HOOK USECOUNT SYSTEMFLAG). 883of the form (ABBREVNAME EXPANSION ...) that are passed to `define-abbrev'.
884\(If the list is shorter than that, omitted elements default to nil).
885PROPS is a property list to apply to the table. 884PROPS is a property list to apply to the table.
886Properties with special meaning: 885Properties with special meaning:
887- `:parents' contains a list of abbrev tables from which this table inherits 886- `:parents' contains a list of abbrev tables from which this table inherits