Commit 940ed7e4 authored by John Paul Wallington's avatar John Paul Wallington

(gdb-edit-register-value): Use `posn-set-point' instead of `mouse-set-point'

because the latter is not fbound when configured without X.
parent 1a500a73
2005-11-27 John Paul Wallington <jpw@pobox.com>
* progmodes/gdb-ui.el (gdb-goto-breakpoint, gdb-frames-select)
(gdb-threads-select): Use `posn-set-point' instead of
`mouse-set-point' because the latter is not fbound when configured
without X.
(gdb-threads-select, gdb-edit-register-value):
Use `posn-set-point' instead of `mouse-set-point' because the
latter is not fbound when configured without X.
2005-11-27 Kim F. Storm <storm@cua.dk>
......
......@@ -1877,7 +1877,7 @@ static char *magick[] = {
(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))))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment