Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

39 lines (30 sloc) 0.668 kb
;;
;; my-sh.el
;;
;; $Id$
;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(defun my-sh-mode-init()
"My Shell Script Mode init"
(make-menubar-local)
(setq
sh-indentation 2
)
(if (and modify-menu is-xemacs)
(progn
(add-submenu '("Shell-Script") '("Identation"
["2" (setq sh-indentation 2)
:style radio
:selected (eq sh-indentation 2)]
["4" (setq sh-indentation 4)
:style radio
:selected (eq sh-indentation 4)]
["8" (setq sh-indentation 8)
:style radio
:selected (eq sh-indentation 8)]
)
)
)
)
)
(add-hook 'sh-mode-hook 'my-sh-mode-init)
Jump to Line
Something went wrong with that request. Please try again.