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
1347899b
Commit
1347899b
authored
Nov 09, 1994
by
Richard M. Stallman
Browse files
(comint-exec-1): Make sure default-directory is a real dir.
parent
55928174
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
lisp/comint.el
lisp/comint.el
+5
-1
No files found.
lisp/comint.el
View file @
1347899b
...
...
@@ -580,7 +580,11 @@ buffer. The hook `comint-exec-hook' is run after each exec."
(
format
"COLUMNS=%d"
(
frame-width
)))
(
list
"EMACS=t"
"TERM=emacs"
(
format
"TERMCAP=emacs:co#%d:tc=unknown"
(
frame-width
))))
process-environment
)))
process-environment
))
(
default-directory
(
if
(
file-directory-p
default-directory
)
default-directory
"/"
)))
(
apply
'start-process
name
buffer
command
switches
)))
;;; Input history processing in a 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