diff options
| -rw-r--r-- | lisp/abbrev.el | 9 |
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. |
| 437 | PROPS is a " | 437 | PROPS 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 | ||
| 538 | PROPS is a property list. The following properties are special: | 538 | PROPS 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. |
| 882 | Define abbrevs in it according to DEFINITIONS, which is a list of elements | 882 | Define abbrevs in it according to DEFINITIONS, which is a list of elements |
| 883 | of the form (ABBREVNAME EXPANSION HOOK USECOUNT SYSTEMFLAG). | 883 | of the form (ABBREVNAME EXPANSION ...) that are passed to `define-abbrev'. |
| 884 | \(If the list is shorter than that, omitted elements default to nil). | ||
| 885 | PROPS is a property list to apply to the table. | 884 | PROPS is a property list to apply to the table. |
| 886 | Properties with special meaning: | 885 | Properties 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 |