Commit 440e20fc authored by John Paul Wallington's avatar John Paul Wallington

(archive-extract): Use `posn-set-point' instead of `mouse-set-point'

because the latter is not fbound when configured without X.
parent 1be0210d
2005-11-26 John Paul Wallington <jpw@pobox.com>
* arc-mode.el (archive-extract): Use `posn-set-point' instead of
`mouse-set-point' because the latter is not fbound when configured
without X.
2005-11-26 Thien-Thi Nguyen <ttn@gnu.org>
* files.el (file-relative-name): Doc fix.
......
......@@ -895,7 +895,7 @@ using `make-temp-file', and the generated name is returned."
(defun archive-extract (&optional other-window-p event)
"In archive mode, extract this entry of the archive into its own buffer."
(interactive (list nil last-input-event))
(if event (mouse-set-point event))
(if event (posn-set-point (event-end event)))
(let* ((view-p (eq other-window-p 'view))
(descr (archive-get-descr))
(ename (aref descr 0))
......
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