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

git-gutter error on startup: Invalid function #219

Open
nikolas opened this issue Aug 2, 2022 · 1 comment
Open

git-gutter error on startup: Invalid function #219

nikolas opened this issue Aug 2, 2022 · 1 comment

Comments

@nikolas
Copy link
Contributor

nikolas commented Aug 2, 2022

When I open a file in a git repository with emacs after installing git-gutter, I get the following error:

Invalid function: (exec-result (git-gutter:execute-command "git" t "rev-parse" "--is-inside-work-tree"))

My git-gutter info:
;; Package-Version: 20220423.1704
;; Package-Commit: b43b81e
;; Version: 0.92

I'm on Ubuntu 20.04 LTS.

GNU Emacs 26.3 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.14) of 2020-03-26, modified by Debian

@gonewest818
Copy link
Collaborator

I'm on vacation and not close to a proper laptop for this. It appears that error is occurring inside thewhen-let macro which was introduced, I believe, in Emacs 25. It's confusing because if that macro is doing its job it wouldn't be attempting to evaluate exec-result as a function at all.

So unlikely but I guess I'll ask if you've made any modifications to Emacs itself, either patching or replacing elisp files? Otherwise possible you have a conflict with some other elisp package, but that would be a sort of painstaking process to figure out which one it is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants