[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: where to get "use-package"? [was: Re: use pdf-tools in Emacs]
From: |
Philip Kaludercic |
Subject: |
Re: where to get "use-package"? [was: Re: use pdf-tools in Emacs] |
Date: |
Mon, 01 May 2023 10:30:00 +0000 |
"gebser@mousecar.com" <gebser@mousecar.com> writes:
> On 4/27/23 2:30 PM, Tassilo Horn wrote:
>> (use-package pdf-tools
>> :ensure t
>> :init
>> (pdf-tools-install))
>
> Executing the above yields error:
>
> Debugger entered--Lisp error: (void-function use-package)
> (use-package pdf-tools :ensure t :init (pdf-tools-install))
> elisp--eval-last-sexp(nil)
> eval-last-sexp(nil)
> funcall-interactively(eval-last-sexp nil)
> command-execute(eval-last-sexp)
>
> Then "C-h f use-package RET" shows it absent. So installed
> "emacs-devel" but that didn't provide "use-package". So what needs to
> be installed to acquire "use-package"?
The package is available on ELPA, so you need a M-x package-install RET
use-package RET before evaluating the expression. From Emacs 29
onwards, it will be bundled in the default Emacs release.
> Thanks much.