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
c622c18e
Commit
c622c18e
authored
May 28, 2005
by
Jay Belanger
Browse files
(calc-embedded-make-info): Adjust positioning of end of selected
region when an argument is given.
parent
e0b43b66
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
lisp/calc/calc-embed.el
lisp/calc/calc-embed.el
+5
-4
No files found.
lisp/calc/calc-embed.el
View file @
c622c18e
...
...
@@ -815,10 +815,11 @@ The command \\[yank] can retrieve it from there."
(
aset
info
2
(
copy-marker
(
region-beginning
)))
(
aset
info
3
(
copy-marker
(
region-end
))))
(
aset
info
(
if
(
>
calc-embed-arg
0
)
2
3
)
(
point-marker
))
(
forward-line
calc-embed-arg
)
(
when
(
>
calc-embed-arg
0
)
(
forward-line
-1
)
(
end-of-line
))
(
if
(
>
calc-embed-arg
0
)
(
progn
(
forward-line
(
1-
calc-embed-arg
))
(
end-of-line
))
(
forward-line
(
1+
calc-embed-arg
)))
(
aset
info
(
if
(
>
calc-embed-arg
0
)
3
2
)
(
point-marker
)))
(
aset
info
4
(
copy-marker
(
aref
info
2
)))
(
aset
info
5
(
copy-marker
(
aref
info
3
))))
...
...
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