(define-derived-mode): Fix paren typo in definition of abbrev table.

This commit is contained in:
Glenn Morris 2009-09-18 07:14:43 +00:00
parent 6188ea494d
commit 6726c25e2d
2 changed files with 7 additions and 4 deletions

View file

@ -217,10 +217,10 @@ No problems result if this variable is not bound.
`(progn
(put ',abbrev 'definition-name ',child)
(defvar ,abbrev
(progn (define-abbrev-table ',abbrev nil) ,abbrev)
(unless (get ',abbrev 'variable-documentation)
(put ',abbrev 'variable-documentation
,(format "Abbrev table for `%s'." child))))))
(progn (define-abbrev-table ',abbrev nil) ,abbrev))
(unless (get ',abbrev 'variable-documentation)
(put ',abbrev 'variable-documentation
,(format "Abbrev table for `%s'." child)))))
(put ',child 'derived-mode-parent ',parent)
,(if group `(put ',child 'custom-mode-group ,group))