 (require 'dumb-jump)
 (setq dumb-jump-selector 'helm)
 
-(quelpa '(lua-mode :fetcher github :repo "velkyel/lua-mode"))
+;; (quelpa '(lua-mode :fetcher github :repo "velkyel/lua-mode"))
 (require 'lua-mode)
 (define-key lua-mode-map (kbd "M-.") 'dumb-jump-go)
 (define-key lua-mode-map (kbd "M-,") 'dumb-jump-back)
 
-(require 'rtags)
-(setq rtags-display-result-backend 'helm)
-(setq rtags-imenu-syntax-highlighting t)
+(when use-rtags
+  (require 'rtags)
+  (setq rtags-display-result-backend 'helm)
+  (setq rtags-imenu-syntax-highlighting t))
 
 (defun my-imenu ()
   (interactive)
-  (if (rtags-is-indexed)
+  (if (and use-rtags (rtags-is-indexed))
       (rtags-imenu)
     (helm-imenu-in-all-buffers)))    ;; semantic-or-imenu nil
 

                     json-mode
                     json-navigator
                     haskell-mode
                     processing-mode
                     restart-emacs
                     diffview

             (setq-local eldoc-mode nil)))

(with-eval-after-load 'python
  (if (equal system-type 'windows-nt)
      (progn
        (setq python-shell-interpreter "python.exe"))
    (progn
      (require 'elpy)
      (setq python-shell-interpreter "python3")
      (setq elpy-rpc-python-command "python3")
      (setq elpy-eldoc-show-current-function nil)
      (elpy-enable)
      (remove-hook 'elpy-modules 'elpy-module-yasnippet)
      (when (kelly?)
        (remove-hook 'elpy-modules 'elpy-module-flymake)))))

;; (require 'geiser)
(setq geiser-active-implementations '(racket))
