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
428c8e2f
Commit
428c8e2f
authored
Apr 07, 1995
by
Richard M. Stallman
Browse files
(byte-compile-output-docform): Output doc string position
as negative number, if doc string starts with *.
parent
0c00bc70
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
lisp/emacs-lisp/bytecomp.el
lisp/emacs-lisp/bytecomp.el
+7
-1
No files found.
lisp/emacs-lisp/bytecomp.el
View file @
428c8e2f
...
...
@@ -1424,7 +1424,13 @@ With argument, insert value in current buffer after the form."
(
insert
"\n"
)
(
setq
position
(
byte-compile-output-as-comment
(
nth
(
nth
1
info
)
form
)
nil
))))
(
nth
(
nth
1
info
)
form
)
nil
))
;; If the doc string starts with * (a user variable),
;; negate POSITION.
(
if
(
and
(
stringp
(
nth
(
nth
1
info
)
form
))
(
>
(
length
(
nth
(
nth
1
info
)
form
))
0
)
(
eq
(
aref
(
nth
(
nth
1
info
)
form
)
0
)
?*
))
(
setq
position
(
-
position
)))))
(
if
preface
(
progn
...
...
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