Commit a45423d8 authored by Stefan Monnier's avatar Stefan Monnier
Browse files

(mouse-major-mode-menu-1): get the submenu with lookup-key.

parent 91a38db1
2000-07-16 Stefan Monnier <monnier@cs.yale.edu>
* mouse.el (mouse-major-mode-menu-1): get the submenu with lookup-key.
2000-07-16 Dave Love <fx@gnu.org>
* cus-edit.el (custom-buffer-create-internal): Use a help-echo
......
......@@ -115,7 +115,7 @@ Default to the Edit menu if the major mode doesn't define a menu."
(if (eq submap t)
menubar
(setq mouse-major-mode-menu-prefix (list (car submap)))
(cdr (cdr submap))))))
(lookup-key menubar (vector (car submap)))))))
;; Commands that operate on windows.
......@@ -309,7 +309,7 @@ MODE-LINE-P non-nil means a mode line is dragged."
;;
;; if size change caused space to be stolen
;; from a window above this one, rescind the
;; change, but only if we didn't grow/srhink
;; change, but only if we didn't grow/shrink
;; the minibuffer. minibuffer size changes
;; can cause all windows to shrink... no way
;; around it.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment