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
b0bfea29
Commit
b0bfea29
authored
Nov 01, 1994
by
Richard M. Stallman
Browse files
(byte-compile-insert-header): Escape backslashes
in FILENAME when putting it inside a string constant.
parent
4691c06d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
lisp/emacs-lisp/bytecomp.el
lisp/emacs-lisp/bytecomp.el
+4
-1
No files found.
lisp/emacs-lisp/bytecomp.el
View file @
b0bfea29
...
@@ -1355,7 +1355,10 @@ With argument, insert value in current buffer after the form."
...
@@ -1355,7 +1355,10 @@ With argument, insert value in current buffer after the form."
"\n(if (and (boundp 'emacs-version)\n"
"\n(if (and (boundp 'emacs-version)\n"
"\t (or (and (boundp 'epoch::version) epoch::version)\n"
"\t (or (and (boundp 'epoch::version) epoch::version)\n"
"\t (string-lessp emacs-version \"19\")))\n"
"\t (string-lessp emacs-version \"19\")))\n"
" (error \"`"
filename
"' was compiled for Emacs 19\"))\n"
" (error \"`"
;; This escapes all backslashes in FILENAME. Needed on Windows.
(
substring
(
prin1-to-string
filename
)
1
-1
)
"' was compiled for Emacs 19\"))\n"
))
))
))
))
...
...
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