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
8a9ba4d6
Commit
8a9ba4d6
authored
May 12, 2015
by
Glenn Morris
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* lisp/progmodes/tcl.el (tcl-filter):
Handle comint-prompt-read-only like gud.el does. (Bug#20549)
parent
660c30cc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
lisp/progmodes/tcl.el
lisp/progmodes/tcl.el
+2
-1
No files found.
lisp/progmodes/tcl.el
View file @
8a9ba4d6
...
...
@@ -1028,7 +1028,8 @@ Returns nil if line starts inside a string, t if in a comment."
(
with-current-buffer
(
process-buffer
proc
)
;; Delete prompt if requested.
(
when
(
marker-buffer
inferior-tcl-delete-prompt-marker
)
(
delete-region
(
process-mark
proc
)
inferior-tcl-delete-prompt-marker
)
(
let
((
inhibit-read-only
t
))
(
delete-region
(
process-mark
proc
)
inferior-tcl-delete-prompt-marker
))
(
set-marker
inferior-tcl-delete-prompt-marker
nil
))))
(
comint-output-filter
proc
string
))
...
...
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