plexus / chemacs

Emacs profile switcher
653 stars 44 forks source link

Problem combining chemacs and dashboard #12

Closed perweij closed 6 years ago

perweij commented 6 years ago

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.

perweij commented 6 years ago

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