Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
el-get
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Benoit Bayol
el-get
Commits
ced7ee6e
Commit
ced7ee6e
authored
Feb 13, 2012
by
Ryan C. Thompson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix position of debug message
parent
b0c8ec3a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
21 deletions
+22
-21
el-get-core.el
el-get-core.el
+22
-21
No files found.
el-get-core.el
View file @
ced7ee6e
...
...
@@ -59,7 +59,7 @@ call for doing the named package action in the given method.")
(
put
'el-get-register-method
'lisp-indent-function
(
get
'prog1
'lisp-indent-function
))
(
defun*
el-get-register-derived-method
(
name
derived-from-name
(
defun*
el-get-register-derived-method
(
name
derived-from-name
&rest
keys
&key
&allow-other-keys
)
"Register the method for backend NAME.
...
...
@@ -343,27 +343,28 @@ makes it easier to conditionally splice a command into the list.
(
expand-file-name
cdir
))
default-directory
)))
(
if
sync
(
let*
((
startf
(
if
shell
#'
call-process-shell-command
#'
call-process
))
(
infile
(
when
stdin
(
make-temp-file
"el-get"
)))
(
dummy
(
when
infile
(
with-temp-file
infile
(
insert
(
prin1-to-string
stdin
)))))
(
dummy
(
message
"el-get is waiting for %S to complete"
cname
))
(
status
(
apply
startf
program
infile
cbuf
t
args
))
(
message
(
plist-get
c
:message
))
(
errorm
(
plist-get
c
:error
)))
(
progn
(
el-get-verbose-message
"Running commands synchronously: %S"
commands
)
(
when
el-get-verbose
(
message
"%S"
(
with-current-buffer
cbuf
(
buffer-string
))))
(
if
(
eq
0
status
)
(
message
"el-get: %s"
message
)
(
set-window-buffer
(
selected-window
)
cbuf
)
(
error
"el-get: %s %s"
cname
errorm
))
(
when
cbuf
(
kill-buffer
cbuf
))
(
if
next
(
el-get-start-process-list
package
next
final-func
)
(
when
(
functionp
final-func
)
(
funcall
final-func
package
))))
(
let*
((
startf
(
if
shell
#'
call-process-shell-command
#'
call-process
))
(
infile
(
when
stdin
(
make-temp-file
"el-get"
)))
(
dummy
(
when
infile
(
with-temp-file
infile
(
insert
(
prin1-to-string
stdin
)))))
(
dummy
(
message
"el-get is waiting for %S to complete"
cname
))
(
status
(
apply
startf
program
infile
cbuf
t
args
))
(
message
(
plist-get
c
:message
))
(
errorm
(
plist-get
c
:error
)))
(
when
el-get-verbose
(
message
"%S"
(
with-current-buffer
cbuf
(
buffer-string
))))
(
if
(
eq
0
status
)
(
message
"el-get: %s"
message
)
(
set-window-buffer
(
selected-window
)
cbuf
)
(
error
"el-get: %s %s"
cname
errorm
))
(
when
cbuf
(
kill-buffer
cbuf
))
(
if
next
(
el-get-start-process-list
package
next
final-func
)
(
when
(
functionp
final-func
)
(
funcall
final-func
package
)))))
;; async case
(
el-get-verbose-message
"Running commands asynchronously: %S"
commands
)
(
let*
((
startf
(
if
shell
#'
start-process-shell-command
#'
start-process
))
...
...
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