chiark / gitweb /
sh mode do not electric <<
authorIan Jackson <ian.jackson@eu.citrix.com>
Fri, 10 Jun 2016 18:12:46 +0000 (19:12 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Fri, 10 Jun 2016 18:12:46 +0000 (19:12 +0100)
home/emacs/ian.el

index d68ac34..689d6db 100644 (file)
@@ -60,6 +60,9 @@
                 (function (lambda ()
                             (local-set-key " " 'scroll-up)
                             (local-set-key "\7f" 'scroll-down))))
+      (add-hook 'sh-mode-hook
+                (function (lambda ()
+                            (local-set-key "<" 'self-insert-command))))
       (define-key isearch-mode-map "\1c" 'isearch-repeat-forward)
       (define-key isearch-mode-map "\1d" 'isearch-quote-char)))
 ;