[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r106895: In make-help-screen make ori
From: |
martin rudalics |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r106895: In make-help-screen make original minor-mode-map-alist temporarily visible. |
Date: |
Fri, 20 Jan 2012 09:12:35 +0100 |
User-agent: |
Bazaar (2.3.1) |
------------------------------------------------------------
revno: 106895
committer: martin rudalics <address@hidden>
branch nick: trunk
timestamp: Fri 2012-01-20 09:12:35 +0100
message:
In make-help-screen make original minor-mode-map-alist temporarily visible.
* help-macro.el (make-help-screen): Temporarily restore original binding
for minor-mode-map-alist (Bug#10454).
modified:
lisp/ChangeLog
lisp/help-macro.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2012-01-19 23:06:49 +0000
+++ b/lisp/ChangeLog 2012-01-20 08:12:35 +0000
@@ -1,3 +1,8 @@
+2012-01-20 Martin Rudalics <address@hidden>
+
+ * help-macro.el (make-help-screen): Temporarily restore original
+ binding for minor-mode-map-alist (Bug#10454).
+
2012-01-19 Julien Danjou <address@hidden>
* color.el (color-name-to-rgb): Use the white color to find the max
=== modified file 'lisp/help-macro.el'
--- a/lisp/help-macro.el 2012-01-19 07:21:25 +0000
+++ b/lisp/help-macro.el 2012-01-20 08:12:35 +0000
@@ -184,9 +184,12 @@
(when config
(set-window-configuration config)
(setq config nil))
- ;; `defn' must make sure that its frame is
- ;; selected, so we won't iconify it below.
- (call-interactively defn)
+ ;; Temporarily rebind `minor-mode-map-alist'
+ ;; to `new-minor-mode-map-alist' (Bug#10454).
+ (let ((minor-mode-map-alist
new-minor-mode-map-alist))
+ ;; `defn' must make sure that its frame is
+ ;; selected, so we won't iconify it below.
+ (call-interactively defn))
(when new-frame
;; Do not iconify the selected frame.
(unless (eq new-frame (selected-frame))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r106895: In make-help-screen make original minor-mode-map-alist temporarily visible.,
martin rudalics <=