aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorJohn Paul Wallington2005-11-26 19:05:52 +0000
committerJohn Paul Wallington2005-11-26 19:05:52 +0000
commit440e20fca8ca31db13d56cf46ccbca0925e1e501 (patch)
treee88fb7a7209d19950067148984dc10523e398c36 /lisp
parent1be0210d3aaa6d058b5da022f9ecaba5b02f4d84 (diff)
downloademacs-440e20fca8ca31db13d56cf46ccbca0925e1e501.tar.gz
emacs-440e20fca8ca31db13d56cf46ccbca0925e1e501.zip
(archive-extract): Use `posn-set-point' instead of `mouse-set-point'
because the latter is not fbound when configured without X.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog6
-rw-r--r--lisp/arc-mode.el2
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 60e6f053e0e..59d6cfb0e2c 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
12005-11-26 John Paul Wallington <jpw@pobox.com>
2
3 * arc-mode.el (archive-extract): Use `posn-set-point' instead of
4 `mouse-set-point' because the latter is not fbound when configured
5 without X.
6
12005-11-26 Thien-Thi Nguyen <ttn@gnu.org> 72005-11-26 Thien-Thi Nguyen <ttn@gnu.org>
2 8
3 * files.el (file-relative-name): Doc fix. 9 * files.el (file-relative-name): Doc fix.
diff --git a/lisp/arc-mode.el b/lisp/arc-mode.el
index ae5ff9a4dbc..c376070ea3b 100644
--- a/lisp/arc-mode.el
+++ b/lisp/arc-mode.el
@@ -895,7 +895,7 @@ using `make-temp-file', and the generated name is returned."
895(defun archive-extract (&optional other-window-p event) 895(defun archive-extract (&optional other-window-p event)
896 "In archive mode, extract this entry of the archive into its own buffer." 896 "In archive mode, extract this entry of the archive into its own buffer."
897 (interactive (list nil last-input-event)) 897 (interactive (list nil last-input-event))
898 (if event (mouse-set-point event)) 898 (if event (posn-set-point (event-end event)))
899 (let* ((view-p (eq other-window-p 'view)) 899 (let* ((view-p (eq other-window-p 'view))
900 (descr (archive-get-descr)) 900 (descr (archive-get-descr))
901 (ename (aref descr 0)) 901 (ename (aref descr 0))