GNU bug report logs -
#41073
[PATCH] Adjust outline-minor-mode-map when prefix is changed
Previous Next
Reported by: Philip K <philip <at> warpmail.net>
Date: Mon, 4 May 2020 09:49:02 UTC
Severity: wishlist
Tags: fixed, patch
Fixed in version 28.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Philip K <philip <at> warpmail.net> 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
This bug report was last modified 4 years and 344 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.