]> code.delx.au - gnu-emacs/blobdiff - lisp/newcomment.el
(menu-bar-tools-menu): Call read-mail-command
[gnu-emacs] / lisp / newcomment.el
index 889f888b595ba9e63034a26a39ce78ddc5f9ce28..a09f9b1fbc9a2c2570b9f555bbd98cee958bd09f 100644 (file)
@@ -6,7 +6,7 @@
 ;; Maintainer: Stefan Monnier <monnier@cs.yale.edu>
 ;; Keywords: comment uncomment
 ;; Version: $Name:  $
-;; Revision: $Id: newcomment.el,v 1.14 2000/05/23 20:06:10 monnier Exp $
+;; Revision: $Id: newcomment.el,v 1.16 2000/06/04 22:02:11 monnier Exp $
 
 ;; This file is part of GNU Emacs.
 
@@ -70,6 +70,7 @@
 (defgroup comment nil
   "Indenting and filling of comments."
   :prefix "comment-"
+  :version "21.1"
   :group 'fill)
 
 (defvar comment-use-syntax 'undecided
@@ -176,8 +177,7 @@ makes the comment easier to read.  Default is 1.  nil means 0.")
 
 ;;;###autoload
 (defcustom comment-multi-line nil
-  "*Non-nil means \\[indent-new-comment-line] should continue same comment
-on new line, with no new terminator or starter.
+  "*Non-nil means \\[comment-indent-new-line] continues comments, with no new terminator or starter.
 This is obsolete because you might as well use \\[newline-and-indent]."
   :type 'boolean
   :group 'comment)
@@ -414,9 +414,7 @@ If CONTINUE is non-nil, use the `comment-continuation' markers if any."
            (goto-char begpos))
           ;; Compute desired indent.
           (if (= (current-column)
-                 (setq indent (funcall (or (and (boundp 'comment-indent-hook)
-                                               comment-indent-hook)
-                                          comment-indent-function))))
+                 (setq indent (funcall comment-indent-function)))
               (goto-char begpos)
             ;; If that's different from current, change it.
             (skip-chars-backward " \t")
@@ -963,6 +961,16 @@ unless optional argument SOFT is non-nil."
 
 ;;; Change Log:
 ;; $Log: newcomment.el,v $
+;; Revision 1.16  2000/06/04 22:02:11  monnier
+;; (comment-indent): Ignore comment-indent-hook.
+;;
+;; Revision 1.15  2000/05/25 19:05:46  monnier
+;; Add abundant autoload cookies.
+;; (comment-style): Be careful not to depend on runtime data at compile-time.
+;; (comment-indent-hook): Remove.
+;; (comment-indent): Check if comment-indent-hook is bound.
+;; (comment-region): Docstring fix.
+;;
 ;; Revision 1.14  2000/05/23 20:06:10  monnier
 ;; (comment-make-extra-lines): Don't use `assert'.
 ;;