Skip to content

Commit

Permalink
Avoid initialization error
Browse files Browse the repository at this point in the history
  • Loading branch information
takaxp committed Sep 17, 2023
1 parent efe1180 commit fbab370
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion el-get-status.el
Original file line number Diff line number Diff line change
Expand Up @@ -130,14 +130,16 @@

(defun el-get-read-status-file-force ()
"Forcefully load status file."
(message "--- hoge")
(let* ((ps
(if (file-exists-p el-get-status-file)
(car (with-temp-buffer
(insert-file-contents-literally el-get-status-file)
(read-from-string (buffer-string))))
;; If it doesn't exist, make sure the directory is there
;; so we can create it.
(make-directory el-get-dir t)))
(make-directory el-get-dir t)
nil))
(p-s
(cond
((null ps) ;; nothing installed, we should install el-get
Expand Down

0 comments on commit fbab370

Please sign in to comment.