Commit 1a1e3f32 authored by Stefan Monnier's avatar Stefan Monnier
Browse files

* lisp/emacs-lisp/derived.el (define-derived-mode): Make abbrev-table

inherit from parent.
parent 31976bd5
2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
* emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
inherit from parent.
2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
* dired-aux.el (dired-diff): Doc fixup (bug#8816).
......
......@@ -253,8 +253,11 @@ No problems result if this variable is not bound.
`(let ((parent (char-table-parent ,syntax)))
(unless (and parent
(not (eq parent (standard-syntax-table))))
(set-char-table-parent ,syntax (syntax-table)))))))
(set-char-table-parent ,syntax (syntax-table)))))
,(when declare-abbrev
`(unless (abbrev-table-get ,abbrev :parents)
(abbrev-table-put ,abbrev :parents
(list local-abbrev-table))))))
(use-local-map ,map)
,(when syntax `(set-syntax-table ,syntax))
,(when abbrev `(setq local-abbrev-table ,abbrev))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment