Bad-ptr / persp-mode.el

named perspectives(set of buffers/window configs) for emacs
403 stars 44 forks source link

Error running timer: (void-function make-persp-internal) #18

Closed CestDiego closed 9 years ago

CestDiego commented 9 years ago

I get this when enable persp-mode in the Messages buffer

Bad-ptr commented 9 years ago

This is strange. Probably you have installed both persp-mode.el and perspective-el. If that the case -- you must choose one of them and uninstall another.

Anyway you could launch emacs with -Q and --debug-init, then manually load persp-mode.el (M-x load-file RET /path/to/persp-mode.el RET) and try to find a way to reproduce the bug. Also it will be interesting to know what version of emacs you are using(M-: (message "%s" emacs-version) RET) and which packages you have installed (M-: (message "%s" package-activated-list) RET)

CestDiego commented 9 years ago

The problem is that I was using use-package. Using the :no-require flag makes it work better.

  (use-package persp-mode
    :no-require t
    :init
    :config
    ;; switch off the animation of restoring window configuration
    (persp-mode 1))
CestDiego commented 9 years ago

I'll close the issue because I got this working with the above code ^