diff options
author | Karl Heuer <kwzh@gnu.org> | 1996-02-21 21:33:12 +0000 |
---|---|---|
committer | Karl Heuer <kwzh@gnu.org> | 1996-02-21 21:33:12 +0000 |
commit | 51dce297fccc06a8c509419d377f8468e7170aa3 (patch) | |
tree | c5b17d4e7065f546776f049299c916b3d37c992f /lisp/derived.el | |
parent | 89ab341fcd444974d3acfd20e2cb1dc804f4f510 (diff) | |
download | emacs-51dce297fccc06a8c509419d377f8468e7170aa3.tar.gz |
(derived-mode-merge-syntax-tables): Use inheritance.
Diffstat (limited to 'lisp/derived.el')
-rw-r--r-- | lisp/derived.el | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lisp/derived.el b/lisp/derived.el index d27c2b333f1..6db92e85408 100644 --- a/lisp/derived.el +++ b/lisp/derived.el @@ -331,11 +331,7 @@ be automatic inheritance." (defun derived-mode-merge-syntax-tables (old new) "Merge an old syntax table into a new one. Where the new table already has an entry, nothing is copied from the old one." - (map-char-table - (function (lambda (key value) - (or (char-table-range new key) - (set-char-table-range new key value)))) - old)) + (set-char-table-parent new old)) ;; Merge an old abbrev table into a new one. ;; This function requires internal knowledge of how abbrev tables work, |