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

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

bug#6670: 23.1; faulty example in Lisp Reference Manual, 22.17.4 Menu Ex


From: Robbie Morrison
Subject: bug#6670: 23.1; faulty example in Lisp Reference Manual, 22.17.4 Menu Example
Date: Tue, 20 Jul 2010 06:21:59 +1200 (NZST)
User-agent: SquirrelMail/1.4.17

In section 22.17.4 of the Lisp Reference Manual, I believe that:

     (define-key menu-bar-edit-menu [replace]
       (list 'menu-item "Replace" menu-bar-replace-menu))

should read:

     (define-key global-map [replace]
       (list 'menu-item "Replace" menu-bar-replace-menu))

The explanatory paragraph which follows needs checking too.

I tested both options and only my modification worked as expected.
The original example ran without issue, but failed to produce an entry
in the menu-bar.

my appreciation to all the Emacs maintainers
Robbie
---
Robbie Morrison
PhD student -- policy-oriented energy system simulation
Technical University of Berlin (TU-Berlin), Germany
University email (redirected) : address@hidden
Webmail (preferred)           : address@hidden
[from Webmail client]

In GNU Emacs 23.1.1 (x86_64-pc-linux-gnu, GTK+ Version 2.20.0)
 of 2010-03-29 on yellow, modified by Debian
Windowing system distributor `The X.Org Foundation', version 11.0.10706000
configured using `configure  '--build=x86_64-linux-gnu'
'--host=x86_64-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib'
'--libexecdir=/usr/lib' '--localstatedir=/var/lib'
'--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes'
'--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.1/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.1/leim'
'--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars'
'build_alias=x86_64-linux-gnu' 'host_alias=x86_64-linux-gnu'
'CFLAGS=-DDEBIAN -g -O2' 'LDFLAGS=-g' 'CPPFLAGS=''







reply via email to

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