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

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

Re: diff-goto-source hi-jacks my M-o


From: Dmitry Alexandrov
Subject: Re: diff-goto-source hi-jacks my M-o
Date: Mon, 06 Jul 2020 22:37:19 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Tomas Nordin <tomasn@posteo.net> wrote:
> Dmitry Alexandrov <dag@gnui.org> writes:
>> Tomas Nordin <tomasn@posteo.net> wrote:
>>> And if one is to be voted away, I vote for my precious M-o to be left alone.
>>
>>      (define-minor-mode my-precious-keys-mode "" t)
>>      (defvar my-precious-keys-map (make-sparse-keymap))
>>      (add-to-list 'emulation-mode-map-alists
>>                   (list (cons 'my-precious-keys-mode my-precious-keys-map)))
>>         (define-key my-precious-keys-map (kbd "M-o") #'other-window)

> define-dummy-mode-and-dummy-key-map-…

I am not sure, what ‘dummy’ is supposed to mean here?  Minor mode is fully 
functional, that is you are free to disable and reenable it at will:

        (define-key global-map (kbd "<C-pause>") #'my-precious-keys-mode)

Attachment: signature.asc
Description: PGP signature


reply via email to

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