Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"void-variable it" after upgrade #1347

Open
pschrammel opened this issue Oct 29, 2021 · 1 comment
Open

"void-variable it" after upgrade #1347

pschrammel opened this issue Oct 29, 2021 · 1 comment
Labels

Comments

@pschrammel
Copy link

pschrammel commented Oct 29, 2021

Expected behavior

errorless start

Actual behavior

when starting (with --debug-init)

Debugger entered--Lisp error: (void-variable it)
  (file-directory-p it)
  (and (file-directory-p it) (file-name-as-directory (expand-file-name "resources" (file-name-directory (or load-file-name (buffer-file-name))))))
  (defconst lsp-ui-resources-dir (and (file-directory-p it) (file-name-as-directory (expand-file-name "resources" (file-name-directory (or load-file-name (buffer-file-name)))))) "Resource folder for package `lsp-ui'.")
  eval-buffer(#<buffer  *load*-596750> nil "/home/peter/.emacs.d/elpa/lsp-ui-20211009.1545/lsp..." nil t)  ; Reading at buffer position 1636
  load-with-code-conversion("/home/peter/.emacs.d/elpa/lsp-ui-20211009.1545/lsp..." "/home/peter/.emacs.d/elpa/lsp-ui-20211009.1545/lsp..." nil t)
  require(lsp-ui)
  eval-buffer(#<buffer  *load*-500934> nil "/home/peter/.emacs.d/modules/prelude-lsp.el" nil t)  ; Reading at buffer position 1104
  load-with-code-conversion("/home/peter/.emacs.d/modules/prelude-lsp.el" "/home/peter/.emacs.d/modules/prelude-lsp.el" nil t)
  require(prelude-lsp)
  eval-buffer(#<buffer  *load*-450954> nil "/home/peter/.emacs.d/sample/prelude-modules.el" nil t)  ; Reading at buffer position 2845
  load-with-code-conversion("/home/peter/.emacs.d/sample/prelude-modules.el" "/home/peter/.emacs.d/sample/prelude-modules.el" nil nil)
  load("/home/peter/.emacs.d/sample/prelude-modules.el")
  (if (file-exists-p prelude-modules-file) (load prelude-modules-file) (message "[Prelude] Missing personal modules file %s" prelude-modules-file) (message "[Prelude] Falling back to the bundled example file...") (message "[Prelude] You should copy this file to your person...") (load (expand-file-name "sample/prelude-modules.el" user-emacs-directory)))
  eval-buffer(#<buffer  *load*> nil "/home/peter/.emacs.d/init.el" nil t)  ; Reading at buffer position 5704
  load-with-code-conversion("/home/peter/.emacs.d/init.el" "/home/peter/.emacs.d/init.el" t t)
  load("/home/peter/.emacs.d/init" noerror nomessage)
  startup--load-user-init-file(#f(compiled-function () #<bytecode 0x155acfce9515>) #f(compiled-function () #<bytecode 0x155acfce9529>) t)
  command-line()
  normal-top-level()

Steps to reproduce the problem

It happened after a git pull. I also removed all my personal files

Environment & Version information

Emacs version

emacs 27.1

Operating system

ubuntu

@stale
Copy link

stale bot commented Apr 16, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contribution and understanding!

@stale stale bot added the stale label Apr 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant