GNU bug report logs - #1462
Document/implement local-unset-map

Previous Next

Package: emacs;

Reported by: jidanni <at> jidanni.org

Date: Mon, 1 Dec 2008 17:55:03 UTC

Severity: wishlist

Tags: wontfix

Merged with 1463, 1464, 1465

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #14 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Kevin Rodgers <kevin.d.rodgers <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#1462: Document/implement local-unset-map
Date: Tue, 02 Dec 2008 07:15:31 -0700
jidanni <at> jidanni.org wrote:
> (info "(emacs)Local Keymaps") and (info "(emacs)Rebinding") at the
> most talk about `M-x local-unset-key <RET> KEY'
> But e.g., I very much want to unset the whole wikipedia-mode-map. It
> should say how to do that. I.e., how to make it like we never knew
> about any wikipedia-mode-map (that dares to tinker with basic emacs
> keys like "\M-u" etc.).

local-unset-map would be: (use-local-map nil)

But what you apparently want is:
(setq wikipedia-mode-map (make-sparse-keymap))

-- 
Kevin Rodgers
Denver, Colorado, USA






This bug report was last modified 14 years and 90 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.