1 Nov 2002 02:01
tcl.el
David N. Welton <davidw <at> dedasys.com>
2002-11-01 01:01:32 GMT
2002-11-01 01:01:32 GMT
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
<at> <at> -1542,14 +1542,14 <at> <at>
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/
(Continue reading)
RSS Feed