emacs-evil / evil-magit

Black magic or evil keys for magit
https://github.com/justbur/evil-magit
GNU General Public License v3.0
273 stars 16 forks source link

Initialisation warning #65

Open knjk04 opened 5 years ago

knjk04 commented 5 years ago

I have both magit and evil installed.

After adding (require 'evil-magit) into my emacs init file, I get the following warning:

Warning (initialization): An error occurred while loading ‘/home/karan/.emacs.d/init.el’:

Symbol's function definition is void: transient-suffix-put

To ensure normal operation, you should investigate and remove the cause of the error in your initialization file. Start Emacs with the ‘--debug-init’ option to view a complete error backtrace.

After running Emacs with --debug-init, I get the following backtrace:

Debugger entered--Lisp error: (void-function transient-suffix-put) transient-suffix-put(magit-branch "x" :key "X") evil-magit-change-popup-key(magit-branch "x" "X" magit-branch-reset) apply(evil-magit-change-popup-key (magit-branch "x" "X" magit-branch-reset)) evil-magit-adjust-popups() evil-magit-init() require(evil-magit) eval-buffer(#<buffer load-875345> nil "/home/karan/.emacs.d/config.el.el" nil t) ; Reading at buffer position 2245 load-with-code-conversion("/home/karan/.emacs.d/config.el.el" "/home/karan/.emacs.d/config.el.el" nil nil) load("/home/karan/.emacs.d/config.el.el" nil nil t) load-file("/home/karan/.emacs.d/config.el.el") org-babel-load-file("/home/karan/.emacs.d/config.el.org") eval-buffer(#<buffer load> nil "/home/karan/.emacs.d/init.el" nil t) ; Reading at buffer position 848 load-with-code-conversion("/home/karan/.emacs.d/init.el" "/home/karan/.emacs.d/init.el" t t) load("/home/karan/.emacs.d/init" t t)

f(compiled-function () #<bytecode 0x1df201>)()

command-line() normal-top-level()

My config is here (I've commented out the evil magit line): https://github.com/knjk04/.emacs.d/blob/master/config.el.org

Any idea why?

justbur commented 5 years ago

You need to update magit and possibly evil-magit as well.