diff options
| -rw-r--r-- | lisp/progmodes/idlw-shell.el | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/lisp/progmodes/idlw-shell.el b/lisp/progmodes/idlw-shell.el index 7c1324c94af..3d6076cd52d 100644 --- a/lisp/progmodes/idlw-shell.el +++ b/lisp/progmodes/idlw-shell.el | |||
| @@ -2761,13 +2761,14 @@ Runs to the last statement and then steps 1 statement. Use the .out command." | |||
| 2761 | t) | 2761 | t) |
| 2762 | 2762 | ||
| 2763 | (defun idlwave-xemacs-hack-mouse-track (event) | 2763 | (defun idlwave-xemacs-hack-mouse-track (event) |
| 2764 | (let ((oldfunc (symbol-function 'default-mouse-track-event-is-with-button))) | 2764 | (if (featurep 'xemacs) |
| 2765 | (unwind-protect | 2765 | (let ((oldfunc (symbol-function 'default-mouse-track-event-is-with-button))) |
| 2766 | (progn | 2766 | (unwind-protect |
| 2767 | (fset 'default-mouse-track-event-is-with-button | 2767 | (progn |
| 2768 | 'idlwave-default-mouse-track-event-is-with-button) | 2768 | (fset 'default-mouse-track-event-is-with-button |
| 2769 | (mouse-track event)) | 2769 | 'idlwave-default-mouse-track-event-is-with-button) |
| 2770 | (fset 'default-mouse-track-event-is-with-button oldfunc)))) | 2770 | (mouse-track event)) |
| 2771 | (fset 'default-mouse-track-event-is-with-button oldfunc))))) | ||
| 2771 | ;;; End terrible hack section | 2772 | ;;; End terrible hack section |
| 2772 | 2773 | ||
| 2773 | (defun idlwave-shell-mouse-print (event) | 2774 | (defun idlwave-shell-mouse-print (event) |