   (interactive)
   (shell-command (format "go run %s" (buffer-file-name (current-buffer)))))
 
-(defun isearch-face-settings ()
+(defun aim/isearch-face-settings ()
   (interactive)
   (set-face-foreground 'isearch "black")
   (set-face-background 'isearch "yellow")
   (set-face-foreground 'lazy-highlight "black")
   (set-face-background 'lazy-highlight "orange"))
 
-(eval-after-load "isearch"
-  `(isearch-face-settings))
+;; (eval-after-load "isearch"
+;;   `(aim/isearch-face-settings))
 
 (defun aim/occur-go-public-functions ()
   (interactive)

;;   (require 'mouse)
;;   (xterm-mouse-mode t))

(if (and (display-graphic-p) aim/is-linux)
    (set-face-background 'cursor "yellow")
  (shell-command (format "echo -ne '\\033]12;#00ff00\\007' > /proc/%d/fd/1" (emacs-pid))))

(eval-after-load 'diff-mode
  '(progn
     (set-face-foreground 'diff-added "green3")
     (set-face-foreground 'diff-removed "red3")))

(use-package go-guru
  :ensure t)

;;   (or frame-background-mode
;;       (setq frame-background-mode 'dark)))

(defun aim/set-cursor-colour nil
  (interactive)
  (if (and (display-graphic-p) aim/is-linux)
      (set-face-background 'cursor "yellow")
    (shell-command (format "echo -ne '\\033]12;#00ff00\\007' > /proc/%d/fd/1" (emacs-pid)))))

(fset 'yes-or-no-p 'y-or-n-p)

(put 'narrow-to-region 'disabled nil)
