unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* tcl.el
@ 2002-11-01  1:01 David N. Welton
  0 siblings, 0 replies; only message in thread
From: David N. Welton @ 2002-11-01  1:01 UTC (permalink / raw)



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.
           (save-excursion
-            (while (looking-at "^[ \t]*#")
+            (while (looking-at "^[ \t]*#\\s-*$")
               (forward-line -1))
             (forward-line)
             (setq p-start (point)))
 
           ;; Search forwards.
           (save-excursion
-            (while (looking-at "^[ \t]*#")
+            (while (looking-at "^[ \t]*#\\s-*$")
               (forward-line))
             (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/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-11-01  1:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-01  1:01 tcl.el David N. Welton

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).