Opened 14 years ago

Closed 14 years ago

#340 closed defect (fixed)

Key binding syntax in proof-splash.el

Reported by: Erik Martin-Dorel Owned by: David Aspinall
Priority: minor Milestone: PG-Emacs-4.0
Component: 2:pg-emacs Keywords:
Cc:

Description

When I do [C-h m] in the ProofGeneral splash screen, I see the following strange output:

Splash mode:
Mode for splash.  
key             binding
---             -------
[		Prefix Command
q		bury-buffer
[ m		Prefix Command
[ m o		Prefix Command
[ m o u		Prefix Command
[ m o u s	Prefix Command
[ m o u s e	Prefix Command
[ m o u s e -	Prefix Command
[ m o u s e - 3			Prefix Command
[ m o u s e - 3 ]		bury-buffer

I believe this is due (in generic/proof-splash.el) to the line

(define-key proof-splash-mode-map "[mouse-3]" 'bury-buffer)

which should be replaced either by

(define-key proof-splash-mode-map [mouse-3] 'bury-buffer)

or by

(define-key proof-splash-mode-map (kbd "<mouse-3>") 'bury-buffer)

Kind regards, Erik.

Change History (1)

comment:1 Changed 14 years ago by David Aspinall

Resolution: fixed
Status: newclosed

Ouch! Thanks for the fix, well spotted.

Note: See TracTickets for help on using tickets.