add caps mode to shell and c mode, bind to M-j c

 

File modified: lisp/emacs.d/ivan-c.el lisp/emacs.d/ivan-shell.el

Change366 at Sun Aug 29 18:36:44 2010 +0200 by Ivan Kanis <ivan@tao>

diff -r 9997703c7cad -r 8292298aaea5 lisp/emacs.d/ivan-shell.el
--- a/lisp/emacs.d/ivan-shell.el	Sun Aug 29 18:31:56 2010 +0200
+++ b/lisp/emacs.d/ivan-shell.el	Sun Aug 29 18:36:44 2010 +0200
@@ -1,12 +1,16 @@
 ;;; ivan-shell.el --- shell script
 
+(require 'caps-mode)
 (require 'ivan-face)
 (require 'ivan-common-code)
+
 (eval-when-compile
   (require 'sh-script))
 
 (defun ivan-sh-hook ()
-  (ivan-common-code-key-binding sh-mode-map))
+  (ivan-common-code-key-binding sh-mode-map)
+  (ivan-keymap-define sh-mode-map
+                      "M-j c" caps-mode))
 
 (add-hook 'sh-mode-hook 'ivan-sh-hook)
 
@@ -15,7 +19,6 @@
 
 ;; Copyright (C) 2007 Ivan Kanis
 ;; Author: Ivan Kanis
-;; 
 ;;
 ;; This program is free software ; you can redistribute it and/or modify
 ;; it under the terms of the GNU General Public License as published by


back