[Top][All Lists]

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

Re: view-mode keymap

From: Eric Abrahamsen
Subject: Re: view-mode keymap
Date: Thu, 03 Jan 2013 21:10:02 +0800
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2 (gnu/linux)

Daimrod <> writes:

> So now my code is:
> (add-hook 'view-mode-hook
>           (lambda ()
>             ;; In `view-mode', `view-mode-map' overrides other minor
>             ;; mode maps.
>             (pushnew (cons 'view-mode view-mode-map)
>                      minor-mode-overriding-map-alist
>                      :key #'car)))
> A bit more cleaner :)

Thanks! This was annoying me too, but not enough to look into it. I'll
try the fix...

reply via email to

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