plexus / chemacs

Emacs profile switcher

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Problem combining chemacs and dashboard

perweij opened this issue · comments

dashboard only initialises itself if the number of command line arguments is less than 2:

  (if (< (length command-line-args) 2 )
     ...init dashboard...

probably as a way of inhibiting dashboard from starting in case you started emacs with a path to a file you want to edit.

Either chemacs should modify command-line-args to remove --with-profile X after these flags have been picked up, or dashboard should have a smarter check.

At a second thought, this should be fixed in dashboard. Closing here and filing there instead.