aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Tromey1995-07-09 18:52:16 +0000
committerTom Tromey1995-07-09 18:52:16 +0000
commit19759845777093564e7da51ed9679caeefe15e4b (patch)
tree102061199d21f21618f159c228a9a55f6ca08e2b
parentbda609416b33b64a5a50b884e77fb8a8185c0405 (diff)
downloademacs-19759845777093564e7da51ed9679caeefe15e4b.tar.gz
emacs-19759845777093564e7da51ed9679caeefe15e4b.zip
(tcl-do-auto-fill): Set fill-prefix.
-rw-r--r--lisp/progmodes/tcl.el13
1 files changed, 8 insertions, 5 deletions
diff --git a/lisp/progmodes/tcl.el b/lisp/progmodes/tcl.el
index c4c280cd678..4c854f58cb3 100644
--- a/lisp/progmodes/tcl.el
+++ b/lisp/progmodes/tcl.el
@@ -6,7 +6,7 @@
6;; Author: Tom Tromey <tromey@busco.lanl.gov> 6;; Author: Tom Tromey <tromey@busco.lanl.gov>
7;; Chris Lindblad <cjl@lcs.mit.edu> 7;; Chris Lindblad <cjl@lcs.mit.edu>
8;; Keywords: languages tcl modes 8;; Keywords: languages tcl modes
9;; Version: $Revision: 1.35 $ 9;; Version: $Revision: 1.36 $
10 10
11;; This file is part of GNU Emacs. 11;; This file is part of GNU Emacs.
12 12
@@ -51,7 +51,7 @@
51;; LCD Archive Entry: 51;; LCD Archive Entry:
52;; tcl|Tom Tromey|tromey@busco.lanl.gov| 52;; tcl|Tom Tromey|tromey@busco.lanl.gov|
53;; Major mode for editing Tcl| 53;; Major mode for editing Tcl|
54;; $Date: 1995/06/27 20:12:00 $|$Revision: 1.35 $|~/modes/tcl.el.Z| 54;; $Date: 1995/07/09 01:07:57 $|$Revision: 1.36 $|~/modes/tcl.el.Z|
55 55
56;; CUSTOMIZATION NOTES: 56;; CUSTOMIZATION NOTES:
57;; * tcl-proc-list can be used to customize a list of things that 57;; * tcl-proc-list can be used to customize a list of things that
@@ -65,6 +65,9 @@
65 65
66;; Change log: 66;; Change log:
67;; $Log: tcl.el,v $ 67;; $Log: tcl.el,v $
68;; Revision 1.36 1995/07/09 01:07:57 tromey
69;; (tcl-imenu-create-index-function): Work with imenu from Emacs 19.29
70;;
68;; Revision 1.35 1995/06/27 20:12:00 tromey 71;; Revision 1.35 1995/06/27 20:12:00 tromey
69;; (tcl-type-alist): More itcl changes. 72;; (tcl-type-alist): More itcl changes.
70;; 73;;
@@ -316,7 +319,7 @@
316 (require 'imenu)) 319 (require 'imenu))
317 ())) 320 ()))
318 321
319(defconst tcl-version "$Revision: 1.35 $") 322(defconst tcl-version "$Revision: 1.36 $")
320(defconst tcl-maintainer "Tom Tromey <tromey@drip.colorado.edu>") 323(defconst tcl-maintainer "Tom Tromey <tromey@drip.colorado.edu>")
321 324
322;; 325;;
@@ -1649,8 +1652,8 @@ of comment."
1649 1652
1650(defun tcl-do-auto-fill () 1653(defun tcl-do-auto-fill ()
1651 "Auto-fill function for Tcl mode. Only auto-fills in a comment." 1654 "Auto-fill function for Tcl mode. Only auto-fills in a comment."
1652 (let (in-comment 1655 (let ((fill-prefix "# ")
1653 col) 1656 in-comment col)
1654 (save-excursion 1657 (save-excursion
1655 (setq in-comment (tcl-in-comment)) 1658 (setq in-comment (tcl-in-comment))
1656 (if in-comment 1659 (if in-comment