aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-04-20 19:49:15 +0800
committerGuangxiong Lin <[email protected]>2022-04-20 19:49:15 +0800
commit0467812d22306d704e79aaf5b5096669cd432777 (patch)
treec2c1f99dc5e4b179732d83b0112f48731c01e3d8
parent4585b7d0da99d1a951b6be997219eaa3446b65b3 (diff)
downloaddotfiles-0467812d22306d704e79aaf5b5096669cd432777.tar.gz
dotfiles-0467812d22306d704e79aaf5b5096669cd432777.tar.bz2
dotfiles-0467812d22306d704e79aaf5b5096669cd432777.zip
Fix error in elisp (emacs)
-rw-r--r--.emacs.d/lisp/init-package.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/.emacs.d/lisp/init-package.el b/.emacs.d/lisp/init-package.el
index 9871cbd..7ae2022 100644
--- a/.emacs.d/lisp/init-package.el
+++ b/.emacs.d/lisp/init-package.el
@@ -20,7 +20,7 @@ https://github.com/purcell/emacs.d/blob/master/lisp/init-elpa.el"
(if no-refresh
(error "No version of %s >= %S is available" package min-version)
(package-refresh-contents)
- (require-package package min-version t)))
+ (gx/require-package package min-version t)))
(package-installed-p package min-version))))
(defun gx/maybe-require-package (package &optional min-version no-refresh)