Skip to content

Commit

Permalink
enable wanderlust, disable sl-ede-cpp-root (deprecated)
Browse files Browse the repository at this point in the history
  • Loading branch information
sunlin7 authored and Lin Sun committed Apr 10, 2024
1 parent 8a2f92c commit 0dee6ec
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions emacs.spacemacs/dot-emacs-template.el
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,10 @@
(nconc sl-configuration-layers '())
(with-eval-after-load "files" (delete '("\\.org\\'" . org-mode) auto-mode-alist))))

(when (and (not (equal portable-home-dir portable-root-dir))
(file-exists-p (expand-file-name ".wl" portable-home-dir)))
(add-to-list 'sl-packages-list 'wanderlust))

(define-advice dotspacemacs/layers (:after ())
(setq-default dotspacemacs-configuration-layers sl-configuration-layers
dotspacemacs-additional-packages sl-packages-list
Expand Down
8 changes: 4 additions & 4 deletions emacs.spacemacs/site-start.d/50project.el
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
(declare-function 'ede-current-project "ede/cpp-root")
(declare-function 'ede-project-root-directory "ede/auto")
(declare-function 'hash-table-keys "subr-x")
(eieio-defclass-autoload 'sl-ede-cpp-root-project '(ede-cpp-root-project)
"sl-cpp-root"
"SL EDE cpp-root project class,
Each directory needs a project file to control it.")
;; (eieio-defclass-autoload 'sl-ede-cpp-root-project '(ede-cpp-root-project)
;; "sl-cpp-root"
;; "SL EDE cpp-root project class. \
;; Each directory needs a project file to control it.")

(defun sl-ede-read-file-lines (filename)
"Return the list of lines of a file in `filename', FILENAME should no be nil."
Expand Down

0 comments on commit 0dee6ec

Please sign in to comment.