changeset 67147:bd64098ea241

(gdb-edit-register-value): Use `posn-set-point' instead of `mouse-set-point' because the latter is not fbound when configured without X.
author John Paul Wallington <jpw@pobox.com>
date Sun, 27 Nov 2005 02:56:41 +0000
parents 6f5ac5f6d107
children 49baebc0ed70
files lisp/progmodes/gdb-ui.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/gdb-ui.el	Sun Nov 27 01:40:27 2005 +0000
+++ b/lisp/progmodes/gdb-ui.el	Sun Nov 27 02:56:41 2005 +0000
@@ -1877,7 +1877,7 @@
 (defun gdb-edit-register-value (&optional event)
   (interactive (list last-input-event))
   (save-excursion
-    (if event (mouse-set-point event))
+    (if event (posn-set-point (event-end event)))
     (beginning-of-line)
     (let* ((register (current-word))
 	  (value (read-string (format "New value (%s): " register))))