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
a4eecfc9
Commit
a4eecfc9
authored
Aug 27, 1995
by
Richard M. Stallman
Browse files
(m2-execute-monitor-command): Renamed from execute-monitor-command.
parent
f1f20cec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
lisp/progmodes/modula2.el
lisp/progmodes/modula2.el
+2
-2
No files found.
lisp/progmodes/modula2.el
View file @
a4eecfc9
...
...
@@ -398,7 +398,7 @@ FROM SysStreams IMPORT sysIn, sysOut, sysErr;
(
setq
m2-link-name
(
read-string
"Name of executable: "
modulename
))))))
(
defun
execute-monitor-command
(
command
)
(
defun
m2-
execute-monitor-command
(
command
)
(
let*
((
shell
shell-file-name
)
(
csh
(
equal
(
file-name-nondirectory
shell
)
"csh"
)))
(
call-process
shell
nil
t
t
"-cf"
(
concat
"exec "
command
))))
...
...
@@ -412,7 +412,7 @@ FROM SysStreams IMPORT sysIn, sysOut, sysErr;
(
setq
modulename
(
read-string
"Module name: "
))
(
switch-to-buffer
"*Command Execution*"
)
(
execute-monitor-command
(
concat
"m2whereis "
modulename
))
(
m2-
execute-monitor-command
(
concat
"m2whereis "
modulename
))
(
goto-char
(
point-min
))
(
condition-case
()
(
progn
(
re-search-forward
"\\(.*\\.def\\) *$"
)
...
...
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