Browse Source

flycheck inherits load-path

master
Marc Pohling 6 years ago
parent
commit
1c79908db3
1 changed files with 7 additions and 3 deletions
  1. 10
      config.org

10
config.org

@ -628,10 +628,13 @@ deactivate
(unless (string-equal user-login-name "POH") (unless (string-equal user-login-name "POH")
;; (add-to-list 'package-archives ;; (add-to-list 'package-archives
;; '("beancount" . "/opt/beancount/elisp") t) ;; '("beancount" . "/opt/beancount/elisp") t)
(use-package beancount
:load-path "/opt/beancount/elisp/"
; (use-package beancount
; :load-path "/opt/beancount/elisp/"
;; :ensure t ;; :ensure t
:mode ("\\.beancount$" . beancount-mode)
; :mode ("\\.beancount$" . beancount-mode)
(use-package beancount
:load-path "/home/marc/.emacs.d/elisp/"
:mode ("\\.beancount$" . bean-mode)
) )
(setenv "PATH" (setenv "PATH"
(concat (concat
@ -937,6 +940,7 @@ The virtual environments need to have following modules installed:
(use-package flycheck (use-package flycheck
:ensure t :ensure t
:init :init
(setq flycheck-emacs-lisp-load-path 'inherit)
(add-hook 'after-init-hook #'global-flycheck-mode) (add-hook 'after-init-hook #'global-flycheck-mode)
(add-hook 'python-mode-hook (lambda () (add-hook 'python-mode-hook (lambda ()
(semantic-mode 1) (semantic-mode 1)

Loading…
Cancel
Save