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
cd891e68
Commit
cd891e68
authored
Dec 30, 1996
by
Richard M. Stallman
Browse files
(byte-compile-file): Set default-directory in compiler input buffer.
parent
ad8d56b9
Changes
1
Show 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 @
cd891e68
...
...
@@ -10,7 +10,7 @@
;;; This version incorporates changes up to version 2.10 of the
;;; Zawinski-Furuseth compiler.
(
defconst
byte-compile-version
"$Revision: 2.2
3
$"
)
(
defconst
byte-compile-version
"$Revision: 2.2
4
$"
)
;; This file is part of GNU Emacs.
...
...
@@ -1249,7 +1249,9 @@ With prefix arg (noninteractively: 2nd arg), load the file after compiling."
(
default-major-mode
'emacs-lisp-mode
)
(
enable-local-eval
nil
))
(
normal-mode
)
(
setq
filename
buffer-file-name
)))
(
setq
filename
buffer-file-name
))
;; Set the default directory, in case an eval-when-compile uses it.
(
setq
default-directory
(
file-name-directory
filename
)))
(
setq
byte-compiler-error-flag
nil
)
;; It is important that input-buffer not be current at this call,
;; so that the value of point set in input-buffer
...
...
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