diff options
Diffstat (limited to '')
| -rw-r--r-- | emacs-go-mode/init-go-mode.el | 2 | ||||
| -rw-r--r-- | emacs-haskell-mode/init-haskell-mode.el | 2 | ||||
| -rw-r--r-- | emacs/init.el | 12 |
3 files changed, 16 insertions, 0 deletions
diff --git a/emacs-go-mode/init-go-mode.el b/emacs-go-mode/init-go-mode.el index 56e3c16..81c7576 100644 --- a/emacs-go-mode/init-go-mode.el +++ b/emacs-go-mode/init-go-mode.el @@ -1,3 +1,5 @@ +;;; -*- lexical-binding: t; -*- + (add-to-list 'load-path "/usr/share/emacs/site-lisp/go-mode/") (autoload 'go-mode "go-mode" nil t) (add-to-list 'auto-mode-alist '("\\.go\\'" . go-mode)) diff --git a/emacs-haskell-mode/init-haskell-mode.el b/emacs-haskell-mode/init-haskell-mode.el index 6fe75c2..46392a2 100644 --- a/emacs-haskell-mode/init-haskell-mode.el +++ b/emacs-haskell-mode/init-haskell-mode.el @@ -1,3 +1,5 @@ +;;; -*- lexical-binding: t; -*- + (add-to-list 'load-path "/usr/share/emacs/site-lisp/haskell-mode/") (require 'haskell-mode-autoloads) (add-to-list 'Info-default-directory-list "/usr/share/emacs/site-lisp/haskell-mode/") diff --git a/emacs/init.el b/emacs/init.el index 432b772..ebaf0d7 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -1,3 +1,5 @@ +;;; -*- lexical-binding: t; -*- + ;; Added by Package.el. This must come before configurations of ;; installed packages. Don't delete this line. If you don't want it, ;; just comment it out by adding a semicolon to the start of the line. @@ -69,3 +71,13 @@ ((lambda () (dolist (file (directory-files (expand-file-name "~/.config/emacs/") t "^init-.*\\.el$")) (load-file file)))) + + +;; Disable Emacs overriding the terminal's background +(unless (display-graphic-p) + (set-face-attribute 'default nil :background "unspecified-bg") + (set-face-attribute 'default nil :foreground "unspecified-fg")) + +;; Disable Emacs take control over the terminal's mouse features +;; (This is important for copy and paste between Emacs and other applications) +(unless (display-graphic-p) (xterm-mouse-mode -1)) |
