On Mon, 2002-11-18 at 13:25, Paul Krause wrote:
In this case, it looks like calling code (Hrvoje's
dframe-xemacs-popup-kludge) has already been hacked for XEmacs, so I
propose the following change
diff -u c:\Program Files\XEmacs\xemacs-packages\lisp\speedbar\dframe.el.~1~ c:\Program
Files\XEmacs\xemacs-packages\lisp\speedbar\dframe.el
--- c:\Program Files\XEmacs\xemacs-packages\lisp\speedbar\dframe.el.~1~ 2002-11-18
05:56:11.000000000 -0500
+++ c:\Program Files\XEmacs\xemacs-packages\lisp\speedbar\dframe.el 2002-11-18
05:56:11.000000000 -0500
@@ -818,7 +818,7 @@
(beginning-of-line)
(forward-char (min 5 (- (save-excursion (end-of-line) (point))
(save-excursion (beginning-of-line) (point)))))
- (popup-mode-menu)
+ (popup-mode-menu event)
;; Wait for menu to bail out. `popup-mode-menu' (and other popup
;; menu functions) return immediately.
(let (new)
Not really a comment about the change itself, but the EVENT arg for
popup-mode-menu was introduced in XEmacs 21.4.0. So, the change would
need to be:
(if (emacs-version>= 21 4)
(popup-mode-menu event)
(popup-mode-menu))
--
\/ille Skyttä
scop at
xemacs.org