aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1998-03-14 21:42:01 +0000
committerRichard M. Stallman1998-03-14 21:42:01 +0000
commit6fe8a37af388aae8dbd2e10a7827846df20f5573 (patch)
treea6377ae8c9292a9b297b6ff324a5aa0d8212f04f
parent04f3f5a2e3991b03169138fb05775c055811909a (diff)
downloademacs-6fe8a37af388aae8dbd2e10a7827846df20f5573.tar.gz
emacs-6fe8a37af388aae8dbd2e10a7827846df20f5573.zip
Comment changes.
-rw-r--r--lisp/generic.el26
1 files changed, 13 insertions, 13 deletions
diff --git a/lisp/generic.el b/lisp/generic.el
index 4a9a6bac124..9e4f15086b3 100644
--- a/lisp/generic.el
+++ b/lisp/generic.el
@@ -2,7 +2,7 @@
2;; 2;;
3;; Copyright (C) 1997 Free Software Foundation, Inc. 3;; Copyright (C) 1997 Free Software Foundation, Inc.
4;; 4;;
5;; Author: Peter Breton <pbreton@i-kinetics.com> 5;; Author: Peter Breton <pbreton@cs.umb.edu>
6;; Created: Fri Sep 27 1996 6;; Created: Fri Sep 27 1996
7;; Keywords: generic, comment, font-lock 7;; Keywords: generic, comment, font-lock
8 8
@@ -48,13 +48,13 @@
48;; 48;;
49;; * List of keywords to font-lock. Each keyword should be a string. 49;; * List of keywords to font-lock. Each keyword should be a string.
50;; If you have additional keywords which should be highlighted in a face 50;; If you have additional keywords which should be highlighted in a face
51;; different from 'font-lock-keyword-face', you can use the convenience 51;; different from `font-lock-keyword-face', you can use the convenience
52;; function 'generic-make-keywords-list' (which see), and add the 52;; function `generic-make-keywords-list' (which see), and add the
53;; result to the following list: 53;; result to the following list:
54;; 54;;
55;; * Additional expressions to font-lock. This should be a list of 55;; * Additional expressions to font-lock. This should be a list of
56;; expressions, each of which should be of the same form 56;; expressions, each of which should be of the same form
57;; as those in 'font-lock-defaults-alist'. 57;; as those in `font-lock-defaults-alist'.
58;; 58;;
59;; * List of regular expressions to be placed in auto-mode-alist. 59;; * List of regular expressions to be placed in auto-mode-alist.
60;; 60;;
@@ -76,10 +76,10 @@
76;; 76;;
77;; DEFINING NEW GENERIC MODES: 77;; DEFINING NEW GENERIC MODES:
78;; 78;;
79;; Use the 'define-generic-mode' function to define new modes. 79;; Use the `define-generic-mode' function to define new modes.
80;; For example: 80;; For example:
81;; 81;;
82;; (require 'generic-mode) 82;; (require 'generic)
83;; (define-generic-mode 'foo-generic-mode 83;; (define-generic-mode 'foo-generic-mode
84;; (list ?% ) 84;; (list ?% )
85;; (list "keyword") 85;; (list "keyword")
@@ -87,20 +87,20 @@
87;; (list "\.FOO") 87;; (list "\.FOO")
88;; (list 'foo-setup-function)) 88;; (list 'foo-setup-function))
89;; 89;;
90;; defines a new generic-mode 'foo-generic-mode', which has '%' as a 90;; defines a new generic-mode `foo-generic-mode', which has '%' as a
91;; comment character, and "keyword" as a keyword. When files which end in 91;; comment character, and "keyword" as a keyword. When files which end in
92;; '.FOO' are loaded, Emacs will go into foo-generic-mode and call 92;; '.FOO' are loaded, Emacs will go into foo-generic-mode and call
93;; foo-setup-function. You can also use the function 'foo-generic-mode' 93;; foo-setup-function. You can also use the function `foo-generic-mode'
94;; (which is interactive) to put a buffer into foo-generic-mode. 94;; (which is interactive) to put a buffer into foo-generic-mode.
95;; 95;;
96;; AUTOMATICALLY ENTERING GENERIC MODE: 96;; AUTOMATICALLY ENTERING GENERIC MODE:
97;; 97;;
98;; Generic-mode provides a hook which automatically puts a 98;; Generic-mode provides a hook which automatically puts a
99;; file into default-generic-mode if the first few lines of a file in 99;; file into default-generic-mode if the first few lines of a file in
100;; fundamental mode start with a hash comment character. To disable 100;; fundamental mode start with a hash comment character. To disable
101;; this functionality, set the variable 'generic-use-find-file-hook' 101;; this functionality, set the variable `generic-use-find-file-hook'
102;; to nil BEFORE loading generic-mode. See the variables 102;; to nil BEFORE loading generic-mode. See the variables
103;; 'generic-lines-to-scan' and 'generic-find-file-regexp' for customization 103;; `generic-lines-to-scan' and `generic-find-file-regexp' for customization
104;; options. 104;; options.
105;; 105;;
106;; GOTCHAS: 106;; GOTCHAS: