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

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

bug#1462: Document/implement local-unset-map


From: Kevin Rodgers
Subject: bug#1462: Document/implement local-unset-map
Date: Tue, 02 Dec 2008 07:15:31 -0700
User-agent: Thunderbird 2.0.0.18 (Macintosh/20081105)

address@hidden 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








reply via email to

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