Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
14121c52
Commit
14121c52
authored
Nov 08, 2010
by
Glenn Morris
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* lisp/progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
parent
aef8d045
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
9 deletions
+5
-9
lisp/ChangeLog
lisp/ChangeLog
+4
-0
lisp/progmodes/tcl.el
lisp/progmodes/tcl.el
+1
-9
No files found.
lisp/ChangeLog
View file @
14121c52
2010-11-09 Glenn Morris <rgm@gnu.org>
* progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
* minibuffer.el (minibuffer-completion-help): Specify the end of the
* minibuffer.el (minibuffer-completion-help): Specify the end of the
...
...
lisp/progmodes/tcl.el
View file @
14121c52
...
@@ -606,15 +606,11 @@ Commands:
...
@@ -606,15 +606,11 @@ Commands:
(set (make-local-variable 'dabbrev-abbrev-skip-leading-regexp) "[$!]")
(set (make-local-variable 'dabbrev-abbrev-skip-leading-regexp) "[$!]")
(set (make-local-variable 'dabbrev-abbrev-char-regexp) "\\sw\\|\\s_
")
(set (make-local-variable 'dabbrev-abbrev-char-regexp) "\\sw\\|\\s_
")
;; This can only be set to t in Emacs 19 and XEmacs.
;; Emacs 18 and Epoch lose.
(set (make-local-variable 'parse-sexp-ignore-comments) t)
(set (make-local-variable 'parse-sexp-ignore-comments) t)
;; XEmacs has defun-prompt-regexp, but I don't believe
;; XEmacs has defun-prompt-regexp, but I don't believe
;; that it works for end-of-defun -- only for
;; that it works for end-of-defun -- only for
;; beginning-of-defun.
;; beginning-of-defun.
(set (make-local-variable 'defun-prompt-regexp) tcl-omit-ws-regexp)
(set (make-local-variable 'defun-prompt-regexp) tcl-omit-ws-regexp)
;; The following doesn't work in Lucid Emacs 19.6, but maybe
;; it will appear in later versions.
(set (make-local-variable 'add-log-current-defun-function)
(set (make-local-variable 'add-log-current-defun-function)
'tcl-add-log-defun)
'tcl-add-log-defun)
...
@@ -1200,11 +1196,7 @@ semicolon, opening brace, or opening bracket on the same line."
...
@@ -1200,11 +1196,7 @@ semicolon, opening brace, or opening bracket on the same line."
"Determine if point is in a comment.
"Determine if point is in a comment.
Returns a list of the form `(FLAG . STATE)'. STATE can be used
Returns a list of the form `(FLAG . STATE)'. STATE can be used
as input to future invocations. FLAG is nil if not in comment,
as input to future invocations. FLAG is nil if not in comment,
t otherwise. If in comment, leaves point at beginning of comment.
t otherwise. If in comment, leaves point at beginning of comment."
This function does not work in Emacs 18.
See also `tcl-simple-scan-for-comment', a
simpler version that is often right, and works in Emacs 18."
(
let
((
bol
(
save-excursion
(
let
((
bol
(
save-excursion
(
goto-char
end
)
(
goto-char
end
)
(
beginning-of-line
)
(
beginning-of-line
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment