Commit 682e437e authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(facemenu-add-face): Adding default to no region

once again sets it for following typed in text.
parent d60ae75c
;;; facemenu.el --- create a face menu for interactively adding fonts to text
;; Copyright (c) 1994, 1995 Free Software Foundation, Inc.
;; Copyright (c) 1994, 1995, 1996 Free Software Foundation, Inc.
;; Author: Boris Goldowsky <>
;; Keywords: faces
......@@ -497,7 +497,10 @@ effect. See `facemenu-remove-face-function'."
(not (eq facemenu-remove-face-function t)))
(if facemenu-remove-face-function
(funcall facemenu-remove-face-function start end)
(remove-text-properties start end '(face default)))
(if (and start (< start end))
(remove-text-properties start end '(face default))
(setq self-insert-face 'default
self-insert-face-command this-command)))
(if facemenu-add-face-function
(if end (goto-char end))
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