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
8d4c2221
Commit
8d4c2221
authored
Apr 08, 1995
by
Richard M. Stallman
Browse files
(normal-top-level): Copy default-directory
from *scratch* to *Messages*.
parent
1b009b97
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
lisp/startup.el
lisp/startup.el
+6
-0
No files found.
lisp/startup.el
View file @
8d4c2221
...
...
@@ -181,6 +181,12 @@ specified by the LC_ALL, LC_CTYPE and LANG environment variables.")
(
if
command-line-processed
(
message
"Back to top level."
)
(
setq
command-line-processed
t
)
;; Give *Messages* the same default-directory as *scratch*,
;; just to keep things predictable.
(
let
((
dir
default-directory
))
(
save-excursion
(
set-buffer
(
get-buffer
"*Messages*"
))
(
setq
default-directory
dir
)))
;; Look in each dir in load-path for a subdirs.el file.
;; If we find one, load it, which will add the appropriate subdirs
;; of that dir into load-path,
...
...
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