   (define-key markdown-mode-map (kbd "C-c") nil)
 
   (defun ds/locally-keep-ws-before-point ()
-    (make-variable-buffer-local 'ws-butler-keep-whitespace-before-point)
     (validate-setq ws-butler-keep-whitespace-before-point t))
   (add-hook 'markdown-mode-hook #'ds/locally-keep-ws-before-point)
 

;; Pretty colours
(add-to-list 'custom-theme-load-path "~/.emacs.d/themes")
(load-theme 'shepherd t)
;; (load-theme 'adwaita t)

(when (>= emacs-major-version 26)
  (require 'validate)
  (validate-setq debugger-stack-frame-as-list t)
  )


(defun starting-comment-p ()
  "Are we starting to insert a c/java mode comment?"

  (global-set-key (kbd "C-k") 'maybe-projectile-find-file)

  ;; Use everywhere
  (projectile-mode)

  (validate-setq projectile-use-git-grep t)

