aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/strokes.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/strokes.el')
-rw-r--r--lisp/strokes.el8
1 files changed, 5 insertions, 3 deletions
diff --git a/lisp/strokes.el b/lisp/strokes.el
index f1121d1fee5..644ec2c4f62 100644
--- a/lisp/strokes.el
+++ b/lisp/strokes.el
@@ -1,6 +1,6 @@
1;;; strokes.el --- control Emacs through mouse strokes 1;;; strokes.el --- control Emacs through mouse strokes
2 2
3;; Copyright (C) 1997, 2000, 2002 Free Software Foundation, Inc. 3;; Copyright (C) 1997, 2000, 2002, 2005 Free Software Foundation, Inc.
4 4
5;; Author: David Bakhash <cadet@alum.mit.edu> 5;; Author: David Bakhash <cadet@alum.mit.edu>
6;; Maintainer: FSF 6;; Maintainer: FSF
@@ -1418,10 +1418,12 @@ Encode/decode your strokes with \\[strokes-encode-buffer],
1418;; This is the stuff that will eventually be used for composing letters in 1418;; This is the stuff that will eventually be used for composing letters in
1419;; any language, compression, decompression, graphics, editing, etc. 1419;; any language, compression, decompression, graphics, editing, etc.
1420 1420
1421(defface strokes-char-face '((t (:background "lightgray"))) 1421(defface strokes-char '((t (:background "lightgray")))
1422 "Face for strokes characters." 1422 "Face for strokes characters."
1423 :version "21.1" 1423 :version "21.1"
1424 :group 'strokes) 1424 :group 'strokes)
1425;; backward-compatibility alias
1426(put 'strokes-char-face 'face-alias 'strokes-char)
1425 1427
1426(put 'strokes 'char-table-extra-slots 0) 1428(put 'strokes 'char-table-extra-slots 0)
1427(defconst strokes-char-table (make-char-table 'strokes) ; 1429(defconst strokes-char-table (make-char-table 'strokes) ;
@@ -1695,7 +1697,7 @@ Optional FORCE non-nil will ignore the buffer's read-only status."
1695 (delete-char 1) 1697 (delete-char 1)
1696 (add-text-properties start (point) 1698 (add-text-properties start (point)
1697 (list 'type 'stroke-string 1699 (list 'type 'stroke-string
1698 'face 'strokes-char-face 1700 'face 'strokes-char
1699 'stroke-glyph glyph 1701 'stroke-glyph glyph
1700 'display nil)))) 1702 'display nil))))
1701 (message "Encoding strokes in %s...done" buffer))))) 1703 (message "Encoding strokes in %s...done" buffer)))))