Commit 624c972d authored by Juanma Barranquero's avatar Juanma Barranquero
Browse files

(mouse-set-font): Fix typo in docstring.

parent 99d9cc05
......@@ -846,7 +846,7 @@ at the same position."
;; Should we instead decide that `action' takes a `posn'?
(if (consp pos)
(with-current-buffer (window-buffer (posn-window pos))
(funcall action (posn-point pos)))
(funcall action (posn-point pos)))
(funcall action pos)))
(t action))))
......@@ -889,7 +889,7 @@ at the same position."
(let ((range (mouse-start-end start end mode)))
(move-overlay ol (car range) (nth 1 range))))
(defun mouse-drag-track (start-event &optional
(defun mouse-drag-track (start-event &optional
"Track mouse drags by highlighting area between point and cursor.
The region will be defined with mark and point, and the overlay
......@@ -983,8 +983,8 @@ should only be used by mouse-drag-region."
(let* ((fun (key-binding (vector (car event))))
(do-multi-click (and (> (event-click-count event) 0)
(functionp fun)
(not (memq fun
(not (memq fun
;; Run the binding of the terminating up-event, if possible.
(if (and (not (= (overlay-start mouse-drag-overlay)
......@@ -2377,7 +2377,7 @@ and selects that window."
"X fonts suitable for use in Emacs.")
(defun mouse-set-font (&rest fonts)
"Select an emacs font from a list of known good fonts and fontsets."
"Select an Emacs font from a list of known good fonts and fontsets."
(progn (unless (display-multi-font-p)
(error "Cannot change fonts on this display"))
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