aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2002-03-29 12:48:09 +0000
committerRichard M. Stallman2002-03-29 12:48:09 +0000
commit9ad79cb4276d2dd2cad8f34d9c2f2128461bac7a (patch)
tree86a8491cf51b8514bbaa4f2b1c5e045b8dfe7d25
parent6b52944ef5d348053cb148de14e8211839347dbf (diff)
downloademacs-9ad79cb4276d2dd2cad8f34d9c2f2128461bac7a.tar.gz
emacs-9ad79cb4276d2dd2cad8f34d9c2f2128461bac7a.zip
(tcl-imenu-create-index-function): Doc fix.
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/progmodes/tcl.el8
2 files changed, 8 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index bb6131aedda..45270610559 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12002-03-29 Richard M. Stallman <rms@gnu.org>
2
3 * progmodes/tcl.el (tcl-imenu-create-index-function): Doc fix.
4
12002-03-29 Eric M. Ludlam <eric@siege-engine.com> 52002-03-29 Eric M. Ludlam <eric@siege-engine.com>
2 6
3 * speedbar.el (speedbar-default-directory-list): Made robust 7 * speedbar.el (speedbar-default-directory-list): Made robust
diff --git a/lisp/progmodes/tcl.el b/lisp/progmodes/tcl.el
index 60efed8c168..2166af583d2 100644
--- a/lisp/progmodes/tcl.el
+++ b/lisp/progmodes/tcl.el
@@ -6,7 +6,7 @@
6;; Author: Tom Tromey <tromey@redhat.com> 6;; Author: Tom Tromey <tromey@redhat.com>
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.65 $ 9;; Version: $Revision: 1.66 $
10 10
11;; This file is part of GNU Emacs. 11;; This file is part of GNU Emacs.
12 12
@@ -76,7 +76,7 @@
76;; middle of a defun, or between defuns. should notice if point is 76;; middle of a defun, or between defuns. should notice if point is
77;; on first line of defun (or maybe even in comments before defun). 77;; on first line of defun (or maybe even in comments before defun).
78;; * Allow continuation lines to be indented under the first argument 78;; * Allow continuation lines to be indented under the first argument
79;; of the preceeding line, like this: 79;; of the preceding line, like this:
80;; [list something \ 80;; [list something \
81;; something-else] 81;; something-else]
82;; * There is a request that indentation work like this: 82;; * There is a request that indentation work like this:
@@ -988,7 +988,7 @@ Returns nil if line starts inside a string, t if in a comment."
988;; 988;;
989 989
990(defun tcl-imenu-create-index-function () 990(defun tcl-imenu-create-index-function ()
991 "Generate alist of indices for imenu." 991 "Generate alist of indices for `imenu'."
992 (let ((re (concat tcl-proc-regexp "\\([^ \t\n{]+\\)")) 992 (let ((re (concat tcl-proc-regexp "\\([^ \t\n{]+\\)"))
993 alist prev-pos) 993 alist prev-pos)
994 (goto-char (point-min)) 994 (goto-char (point-min))
@@ -1189,7 +1189,7 @@ first word following a semicolon, opening brace, or opening bracket."
1189 "Return t if point is just after the `#' beginning a real comment. 1189 "Return t if point is just after the `#' beginning a real comment.
1190Does not check to see if previous char is actually `#'. 1190Does not check to see if previous char is actually `#'.
1191A real comment is either at the beginning of the buffer, 1191A real comment is either at the beginning of the buffer,
1192preceeded only by whitespace on the line, or has a preceeding 1192preceded only by whitespace on the line, or has a preceding
1193semicolon, opening brace, or opening bracket on the same line." 1193semicolon, opening brace, or opening bracket on the same line."
1194 (save-excursion 1194 (save-excursion
1195 (backward-char) 1195 (backward-char)