bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#5062: 23.1.50; image-toggle-display overwrites nxml-mode local key


From: Lennart Borgman
Subject: bug#5062: 23.1.50; image-toggle-display overwrites nxml-mode local key map
Date: Sun, 29 Nov 2009 23:00:53 +0100

On Sun, Nov 29, 2009 at 7:33 PM, Stefan Monnier
<address@hidden> wrote:
>
> IIRC auto-mode-alist can point to minor-modes (the auto-mode-alist entry
> needs to look something like ("regexp" minor-mode t)), but I don't think
> it can be used here (the constraints on how it can be used are very
> strict since it needs to "consume" a suffix and be called before the
> major-mode).  Maybe we could extend auto-mode-alist to allow things like
> ("regexp" (major-mode minor-mode-1 minor-mode-2 ...)).


Or just define a derived mode that does major-mode + minor-mode and
use that in auto-mode-alist?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]