diff options
author | John Paul Wallington <jpw@pobox.com> | 2004-04-14 20:31:37 +0000 |
---|---|---|
committer | John Paul Wallington <jpw@pobox.com> | 2004-04-14 20:31:37 +0000 |
commit | 3affc0c775daa5e62314ba44cccbaec5c126cdbf (patch) | |
tree | 50eff6d861cc1335c0d08a4e06092dcc21b54b40 | |
parent | 32efc702b311abc93b94630c4f48a38221413aef (diff) | |
download | emacs-3affc0c775daa5e62314ba44cccbaec5c126cdbf.tar.gz |
(posn-set-point): Fix typos: parameter is `position', not `posn'.
-rw-r--r-- | lisp/subr.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/subr.el b/lisp/subr.el index d93ffa7150b..39a9caa3106 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -731,11 +731,11 @@ and `event-end' functions." (defun posn-set-point (position) "Move point to POSITION. Select the corresponding window as well." - (if (not (windowp (posn-window posn))) + (if (not (windowp (posn-window position))) (error "Position not in text area of window")) - (select-window (posn-window posn)) - (if (numberp (posn-point posn)) - (goto-char (posn-point posn)))) + (select-window (posn-window position)) + (if (numberp (posn-point position)) + (goto-char (posn-point position)))) (defsubst posn-x-y (position) "Return the x and y coordinates in POSITION. |