Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
c64cc467
Commit
c64cc467
authored
May 12, 1993
by
Richard M. Stallman
Browse files
(comint-filter): Increment opoint only if after insertion point.
parent
d3f7c8c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
lisp/comint.el
lisp/comint.el
+2
-1
No files found.
lisp/comint.el
View file @
c64cc467
...
...
@@ -662,7 +662,8 @@ Similarly for Soar, Scheme, etc."
(
nchars
(
length
string
)))
(
widen
)
(
goto-char
(
process-mark
process
))
(
setq
opoint
(
+
opoint
nchars
))
(
if
(
<=
(
point
)
opoint
)
(
setq
opoint
(
+
opoint
nchars
)))
;; Insert after old_begv, but before old_zv.
(
if
(
<
(
point
)
obeg
)
(
setq
obeg
(
+
obeg
nchars
)))
...
...
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