Skip to main content

Timeline for (void-function closure) with Magit

Current License: CC BY-SA 4.0

7 events
when toggle format what by license comment
Apr 2, 2020 at 12:46 comment added phils I would advise to never add lambda forms to hook variables at all, though. Always use named functions (i.e. symbols) in hooks -- it eliminates a number of problems and potential problems.
Apr 2, 2020 at 12:40 comment added phils If the user is switching between (unstable) Emacs 28.0.50 and 26.3, I am curious as to whether the relevant files were byte-compiled by the same version in which they were loaded.
Apr 2, 2020 at 12:36 comment added phils Well, you shouldn't use '(lambda...), but function-quoting with #'(lambda...) should (I believe) be entirely equivalent to unquoted (but self-quoting) (lambda...).
Apr 2, 2020 at 11:37 comment added tarsius You shouldn't #'quote lambda forms. Maybe that's all there is to it.
Apr 2, 2020 at 10:12 vote accept Swarnendu Biswas
Apr 2, 2020 at 10:11 comment added Swarnendu Biswas Thanks for the tip. My configuration had the following to open Magit buffer in a full frame. ``` (magit-post-display-buffer-hook #'(lambda () (when (derived-mode-p 'magit-status-mode) (delete-other-windows)))) ``` Disabling it allows Magit to work.
Apr 2, 2020 at 9:58 history answered tarsius CC BY-SA 4.0