Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
751d474c
Commit
751d474c
authored
Sep 06, 1999
by
Eli Zaretskii
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(sh-tmp-file): Use $TMPDIR, if defined, for sh.
parent
fc1d66a4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
lisp/progmodes/sh-script.el
lisp/progmodes/sh-script.el
+2
-2
No files found.
lisp/progmodes/sh-script.el
View file @
751d474c
;;; sh-script.el --- shell-script editing commands for Emacs
;; Copyright (C) 1993, 94, 95, 96, 199
7
by Free Software Foundation, Inc.
;; Copyright (C) 1993, 94, 95, 96,
97,
199
9
by Free Software Foundation, Inc.
;; Author: Daniel Pfeiffer <occitan@esperanto.org>
;; Version: 2.0e
...
...
@@ -1344,7 +1344,7 @@ t means to return a list of all possible completions of STRING.
"tmp = /tmp/" str ".$pid" \n
"fn sigexit { rm $tmp^* >[2]/dev/null }")
(sh (file-name-nondirectory (buffer-file-name))
"TMP=/tmp/" str ".$$" \n
"TMP=
${TMPDIR:-
/tmp
}
/" str ".$$" \n
"trap \"rm $TMP* 2>/dev/null\" " ?0))
...
...
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