add missing libs and update settings to new versions
This commit is contained in:
@@ -433,16 +433,6 @@ Usage:
|
||||
(if (> diff 0) "Need to pull"
|
||||
"Need to push"))
|
||||
diff))))
|
||||
(defun my-dashboard-config-update ()
|
||||
(if (featurep 'magit)
|
||||
(let ((diff (my-magit-repo-status "~/.config/emacs" "master" t)))
|
||||
(if (= diff 0) "Up-to-date"
|
||||
(if (= diff 1) "1 update"
|
||||
(if (= diff -1) "1 commit unpushed"
|
||||
(if (> diff 0) (format "%s updates" diff)
|
||||
(format "%s commits unpushed" (- diff)))))))
|
||||
(require 'magit nil t)
|
||||
"Check"))
|
||||
|
||||
(provide 'my)
|
||||
;;; my.el ends here
|
||||
|
||||
Reference in New Issue
Block a user