If the region is active, it will be set to the requested face. If
it is inactive \(even if mark-even-if-inactive is set) the next
character that is typed \(or otherwise inserted) will be set to
-the the selected face. Moving point or switching buffers before
+the selected face. Moving point or switching buffers before
typing a character cancels the request."
(interactive (list (read-face-name "Use face: ")))
(barf-if-buffer-read-only)
If the region is active, it will be set to the requested face. If
it is inactive \(even if mark-even-if-inactive is set) the next
character that is typed \(via `self-insert-command') will be set to
-the the selected face. Moving point or switching buffers before
+the selected face. Moving point or switching buffers before
typing a character cancels the request."
(interactive (list (facemenu-read-color "Foreground color: ")))
(let ((face (intern (concat "fg:" color))))
If the region is active, it will be set to the requested face. If
it is inactive \(even if mark-even-if-inactive is set) the next
character that is typed \(via `self-insert-command') will be set to
-the the selected face. Moving point or switching buffers before
+the selected face. Moving point or switching buffers before
typing a character cancels the request."
(interactive (list (facemenu-read-color "Background color: ")))
(let ((face (intern (concat "bg:" color))))
If the region is active, it will be set to the requested face. If
it is inactive \(even if mark-even-if-inactive is set) the next
character that is typed \(or otherwise inserted) will be set to
-the the selected face. Moving point or switching buffers before
+the selected face. Moving point or switching buffers before
typing a character cancels the request."
(interactive (list last-command-event
(if mark-active (region-beginning))