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
b0aa2c65
Commit
b0aa2c65
authored
Mar 11, 2007
by
Richard M. Stallman
Browse files
(byte-compile-warning-prefix): Correctly compute line number.
parent
9b73fa0b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
lisp/emacs-lisp/bytecomp.el
lisp/emacs-lisp/bytecomp.el
+4
-2
No files found.
lisp/emacs-lisp/bytecomp.el
View file @
b0aa2c65
...
...
@@ -972,8 +972,10 @@ Each function's symbol gets added to `byte-compile-noruntime-functions'."
(
pos
(
if
(
and
byte-compile-current-file
(
integerp
byte-compile-read-position
))
(
with-current-buffer
byte-compile-current-buffer
(
format
"%d:%d:"
(
count-lines
(
point-min
)
byte-compile-last-position
)
(
format
"%d:%d:"
(
save-excursion
(
goto-char
byte-compile-last-position
)
(
1+
(
count-lines
(
point-min
)
(
point-at-bol
))))
(
save-excursion
(
goto-char
byte-compile-last-position
)
(
1+
(
current-column
)))))
...
...
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