mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-07 16:10:46 -08:00
(posn-set-point): Fix typos: parameter is position', not posn'.
This commit is contained in:
parent
32efc702b3
commit
3affc0c775
1 changed files with 4 additions and 4 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue