.emacs-my
changeset 699 9ec79850e725
parent 698 2a081d4e2e7c
parent 697 d19881accc91
child 703 970915b27f69
child 720 e50b78c6a53d
--- a/.emacs-my	Mon Sep 19 21:04:48 2011 +0300
+++ b/.emacs-my	Mon Sep 19 21:05:09 2011 +0300
@@ -102,13 +102,14 @@
 
 (defvar my-devel-mode-list
   '(
-    sh-mode script-mode
+    sh-mode script-mode tcl-mode
     c-mode c++-mode java-mode js-mode
     python-mode
     lisp-mode
     emacs-lisp-mode
     makefile-mode makefile-gmake-mode
     nsis-mode
+    bat-generic-mode
     html-mode
     )
   "List of development modes.")
@@ -652,6 +653,12 @@
 (define-key dired-mode-map (kbd "<return>")
   'my-dired-enter-to-dir)
 
+;; Make behaviour same as in GUI.
+(unless window-system
+  (define-key dired-mode-map (kbd "DEL") 'my-dired-up-dir)
+  (define-key dired-mode-map (kbd "RET") 'my-dired-enter-to-dir)
+  )
+
 (when (>= emacs-major-version 22)
   ;; Enable 'a' command.
   (put 'dired-find-alternate-file 'disabled nil)