From 2cedbc8447249de5c8189619be6e0d54b585a5b1 Mon Sep 17 00:00:00 2001 From: Simeon Simeonov Date: Tue, 8 Jan 2019 10:48:39 +0100 Subject: Some minor changes in .emacs --- .emacs | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/.emacs b/.emacs index f0526be..594c445 100644 --- a/.emacs +++ b/.emacs @@ -54,6 +54,8 @@ (set-terminal-coding-system 'utf-8) (set-keyboard-coding-system 'utf-8) +(put 'downcase-region 'disabled nil) + ;; Programming section @@ -74,6 +76,7 @@ (setq which-func-modes '(c-mode c++-mode java-mode python-mode)) (which-function-mode t) + ;; Custom plugins (add-to-list 'load-path "~/.emacs.d/lisp/") @@ -82,8 +85,8 @@ (add-to-list 'auto-mode-alist '("\\.\\(inc\\|php[s34]?\\)" . php-mode)) ;; Lua -;; (autoload 'lua-mode "lua-mode" "Lua editing mode." t) -;; (add-to-list 'auto-mode-alist '("\\.lua$" . lua-mode)) +(autoload 'lua-mode "lua-mode" "Lua editing mode." t) +(add-to-list 'auto-mode-alist '("\\.lua$" . lua-mode)) ;;(add-to-list 'interpreter-mode-alist '("lua" . lua-mode)) ;; YAML @@ -94,14 +97,3 @@ (require 'yasnippet) (yas-global-mode 1) (yas/load-directory "~/.emacs.d/snippets") - -;; Python stuff -;; (pymacs-load "ropemacs" "rope-") -;; (setq ropemacs-enable-autoimport t) - -;; CUA mode -;;(cua-mode t) -;;(setq cua-auto-tabify-rectangles nil) -;;(transient-mark-mode 1) -;;(cua-selection-mode t) -(put 'downcase-region 'disabled nil) -- cgit v1.3