[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


From: David N. Welton
Subject: tcl.el
Date: 31 Oct 2002 17:01:32 -0800
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

I made the following change to tcl.el in order to make it format
paragraphs (fill-paragraph) correctly in comments.  I sent email about
the same problem earlier, but never heard anything back... although it
was during your outage.

--- /usr/share/emacs/21.2/lisp/progmodes/tcl.el Fri Mar 22 09:03:00 2002
+++ /home/davidw/.elisp/tcl.el  Wed Oct 30 18:53:52 2002
@@ -1542,14 +1542,14 @@
               p-start p-end)
           ;; Search backwards.
-            (while (looking-at "^[ \t]*#")
+            (while (looking-at "^[ \t]*#\\s-*$")
               (forward-line -1))
             (setq p-start (point)))
           ;; Search forwards.
-            (while (looking-at "^[ \t]*#")
+            (while (looking-at "^[ \t]*#\\s-*$")
             (setq p-end (point)))

Thankyou for your time and attention,
David N. Welton
   Consulting: http://www.dedasys.com/
     Personal: http://www.dedasys.com/davidw/
Free Software: http://www.dedasys.com/freesoftware/
   Apache Tcl: http://tcl.apache.org/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]