because the latter is not fbound when configured without X.
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>
(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))))