[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master d05806f: alas, a map can have only one parent
From: |
Lars Ingebrigtsen |
Subject: |
Re: master d05806f: alas, a map can have only one parent |
Date: |
Mon, 02 May 2016 18:00:26 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
Sam Steingold <address@hidden> writes:
> alas, a map can have only one parent
>
> * lisp/image-mode.el (image-model-map): Cannot have two parents.
> * lisp/image.el (image-map): Inherit from `special-mode-map'.
This is the definition of image-mode-map:
(defvar image-mode-map
(let ((map (make-sparse-keymap)))
...
(make-composed-keymap (list map image-map) special-mode-map))
Which should take care of the multiple inheretance.
And image-map should certainly not inherit anything from
special-mode-map.
So I think your patch is wrong. What are you trying to fix?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- Re: master d05806f: alas, a map can have only one parent,
Lars Ingebrigtsen <=