comparison lisp/newcomment.el @ 29760:c2940b6e267e

(comment) <defgroup>: Add :version. (comment-multi-line): Doc fix.
author Dave Love <fx@gnu.org>
date Tue, 20 Jun 2000 09:40:36 +0000
parents be22934d32af
children 6ea3040d5833
comparison
equal deleted inserted replaced
29759:5c72ae402660 29760:c2940b6e267e
4 4
5 ;; Author: code extracted from Emacs-20's simple.el 5 ;; Author: code extracted from Emacs-20's simple.el
6 ;; Maintainer: Stefan Monnier <monnier@cs.yale.edu> 6 ;; Maintainer: Stefan Monnier <monnier@cs.yale.edu>
7 ;; Keywords: comment uncomment 7 ;; Keywords: comment uncomment
8 ;; Version: $Name: $ 8 ;; Version: $Name: $
9 ;; Revision: $Id: newcomment.el,v 1.15 2000/05/25 19:05:46 monnier Exp $ 9 ;; Revision: $Id: newcomment.el,v 1.16 2000/06/04 22:02:11 monnier Exp $
10 10
11 ;; This file is part of GNU Emacs. 11 ;; This file is part of GNU Emacs.
12 12
13 ;; GNU Emacs is free software; you can redistribute it and/or modify 13 ;; GNU Emacs is free software; you can redistribute it and/or modify
14 ;; it under the terms of the GNU General Public License as published by 14 ;; it under the terms of the GNU General Public License as published by
68 68
69 ;;;###autoload 69 ;;;###autoload
70 (defgroup comment nil 70 (defgroup comment nil
71 "Indenting and filling of comments." 71 "Indenting and filling of comments."
72 :prefix "comment-" 72 :prefix "comment-"
73 :version "21.1"
73 :group 'fill) 74 :group 'fill)
74 75
75 (defvar comment-use-syntax 'undecided 76 (defvar comment-use-syntax 'undecided
76 "Non-nil if syntax-tables can be used instead of regexps. 77 "Non-nil if syntax-tables can be used instead of regexps.
77 Can also be `undecided' which means that a somewhat expensive test will 78 Can also be `undecided' which means that a somewhat expensive test will
174 Extra spacing between the comment characters and the comment text 175 Extra spacing between the comment characters and the comment text
175 makes the comment easier to read. Default is 1. nil means 0.") 176 makes the comment easier to read. Default is 1. nil means 0.")
176 177
177 ;;;###autoload 178 ;;;###autoload
178 (defcustom comment-multi-line nil 179 (defcustom comment-multi-line nil
179 "*Non-nil means \\[indent-new-comment-line] should continue same comment 180 "*Non-nil means \\[comment-indent-new-line] continues comments, with no new terminator or starter.
180 on new line, with no new terminator or starter.
181 This is obsolete because you might as well use \\[newline-and-indent]." 181 This is obsolete because you might as well use \\[newline-and-indent]."
182 :type 'boolean 182 :type 'boolean
183 :group 'comment) 183 :group 'comment)
184 184
185 ;;;; 185 ;;;;
959 959
960 (provide 'newcomment) 960 (provide 'newcomment)
961 961
962 ;;; Change Log: 962 ;;; Change Log:
963 ;; $Log: newcomment.el,v $ 963 ;; $Log: newcomment.el,v $
964 ;; Revision 1.16 2000/06/04 22:02:11 monnier
965 ;; (comment-indent): Ignore comment-indent-hook.
966 ;;
964 ;; Revision 1.15 2000/05/25 19:05:46 monnier 967 ;; Revision 1.15 2000/05/25 19:05:46 monnier
965 ;; Add abundant autoload cookies. 968 ;; Add abundant autoload cookies.
966 ;; (comment-style): Be careful not to depend on runtime data at compile-time. 969 ;; (comment-style): Be careful not to depend on runtime data at compile-time.
967 ;; (comment-indent-hook): Remove. 970 ;; (comment-indent-hook): Remove.
968 ;; (comment-indent): Check if comment-indent-hook is bound. 971 ;; (comment-indent): Check if comment-indent-hook is bound.