Subject: Re: bug#41073: [PATCH] Adjust outline-minor-mode-map when prefix is changed

From: Lars Ingebrigtsen <[email-masked]>
Date: Sat, 08 Aug 2020 13:53:36 +0200

Philip K <[email-masked]> writes:

> +(defvar outline-minor-mode-map)
> +
>  (defcustom outline-minor-mode-prefix "\C-c@"
>    "Prefix key to use for Outline commands in Outline minor mode.
>  The value of this variable is checked as part of loading Outline mode.
>  After that, changing the prefix key requires manipulating keymaps."
>    :type 'key-sequence
> -  :group 'outlines)
> +  :group 'outlines
> +  :set (lambda (sym val)
> +         (define-key outline-minor-mode-map outline-minor-mode-prefix nil)
> +         (define-key outline-minor-mode-map val outline-mode-prefix-map)
> +         (set-default sym val)))

I don't use outline mode, but this makes sense to me (if I understand
what it's doing correctly), so I've applied the patch.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no