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
607f86f5
Commit
607f86f5
authored
Sep 02, 1999
by
Eli Zaretskii
Browse files
(command-line): Compute the value of
small-temporary-file-directory.
parent
9531ab86
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
lisp/startup.el
lisp/startup.el
+4
-0
No files found.
lisp/startup.el
View file @
607f86f5
...
...
@@ -504,6 +504,10 @@ or `CVS', and any subdirectory that contains a file named `.nosearch'."
(
or
(
getenv
"TMPDIR"
)
(
getenv
"TMP"
)
(
getenv
"TEMP"
)
"SYS$SCRATCH:"
))
(
t
(
or
(
getenv
"TMPDIR"
)
(
getenv
"TMP"
)
(
getenv
"TEMP"
)
"/tmp"
)))))
(
setq
small-temporary-file-directory
(
if
(
eq
system-type
'ms-dos
)
(
getenv
"TMPDIR"
)
temporary-file-directory
))
;; See if we should import version-control from the environment variable.
(
let
((
vc
(
getenv
"VERSION_CONTROL"
)))
...
...
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