-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
At first, I thought this was because I was using spaceline. But after running in emacs -q I honestly have no idea whats causing this. I'm running on GNU Emacs 26.1 (build 1, x86_64-w64-mingw32) 2018-05-30.
I run the following commands in order:
emacs -q
M-x toggle-debug-on-error
M-x package-initialize
M-: (require 'workgroups)
M-x workgroups-mode
and then I recieve the following stacktrace.
Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil)
wg-mode-line-add-display()
workgroups-mode(toggle)
funcall-interactively(workgroups-mode toggle)
call-interactively(workgroups-mode record nil)
command-execute(workgroups-mode record)
execute-extended-command(nil "workgroups-mode" "workgroups-mo")
funcall-interactively(execute-extended-command nil "workgroups-mode" "workgroups-mo")
call-interactively(execute-extended-command nil nil)
command-execute(execute-extended-command)
because wg-mode-line-add-display is called after everything else is initted, it's not really a problem, in so far as because the mode is activated and works. It's just I don't like recieving a stacktrace or error message every time I activate the mode.
I've also tried setting wg-mode-line-on to nil after requiring workgroups, before initialising the mode. but I still get the stacktrace.
Metadata
Metadata
Assignees
Labels
No labels