+2001-11-20 Stefan Monnier <monnier@cs.yale.edu>
+
+ * progmodes/tcl.el (tcl-indent-for-comment): Handle the case where
+ `comment-indent-function' returns nil.
+
2001-11-20 Jason Rumney <jasonr@gnu.org>
* w32-fns.el (w32-system-coding-system): Initialize from
;; Author: Tom Tromey <tromey@busco.lanl.gov>
;; Chris Lindblad <cjl@lcs.mit.edu>
;; Keywords: languages tcl modes
-;; Version: $Revision: 1.63 $
+;; Version: $Revision: 1.64 $
;; This file is part of GNU Emacs.
(require 'imenu))
()))
-(defconst tcl-version "$Revision: 1.63 $")
+(defconst tcl-version "$Revision: 1.64 $")
(defconst tcl-maintainer "Tom Tromey <tromey@drip.colorado.edu>")
;;
(backward-char))))))
;; Point is just after the "#" starting a comment. Move it as
;; appropriate.
- (let* ((indent (funcall comment-indent-function))
+ (let* ((indent (or (funcall comment-indent-function) comment-column))
(begpos (progn
(backward-char)
(point))))