diff lisp/info.el @ 284:558f606b08ae r21-0b40

Import from CVS: tag r21-0b40
author cvs
date Mon, 13 Aug 2007 10:34:13 +0200
parents 90d73dddcdc4
children 6cb5e14cd98e
line wrap: on
line diff
--- a/lisp/info.el	Mon Aug 13 10:33:19 2007 +0200
+++ b/lisp/info.el	Mon Aug 13 10:34:13 2007 +0200
@@ -2764,9 +2764,7 @@
       (progn
 	;; make a local copy of the menubar, so our modes don't
 	;; change the global menubar
-	(set-buffer-menubar current-menubar)
-	(add-submenu nil '("Info"
-			   :filter Info-menu-filter))))
+	(easy-menu-add '("Info" :filter Info-menu-filter))))
   (run-hooks 'Info-mode-hook)
   (Info-set-mode-line))