[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/progmodes/sh-script.el,v
From: |
Dan Nicolaescu |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/progmodes/sh-script.el,v |
Date: |
Sat, 12 Apr 2008 16:41:05 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Changes by: Dan Nicolaescu <dann> 08/04/12 16:41:05
Index: progmodes/sh-script.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/progmodes/sh-script.el,v
retrieving revision 1.211
retrieving revision 1.212
diff -u -b -r1.211 -r1.212
--- progmodes/sh-script.el 7 Apr 2008 01:19:39 -0000 1.211
+++ progmodes/sh-script.el 12 Apr 2008 16:41:02 -0000 1.212
@@ -492,11 +492,16 @@
:help "Learn how to indent a line as it currently is
indented"))
(define-key menu-map [sh-show-indent]
'(menu-item "Show indentation" sh-show-indent
- :help "Show the how the currently line would be indented"))
+ :help "Show the how the current line would be indented"))
(define-key menu-map [sh-set-indent]
'(menu-item "Set indentation" sh-set-indent
:help "Set the indentation for the current line"))
+ (define-key menu-map [sh-pair]
+ '(menu-item "Insert braces and quotes in pairs" (lambda () (interactive)
(setq skeleton-pair (not skeleton-pair)))
+ :button (:toggle . skeleton-pair)
+ :help "Inserting a brace or quote automatically inserts the
matching pair"))
+
(define-key menu-map [sh-s0] '("--"))
;; Insert
(define-key menu-map [sh-function]
@@ -2776,7 +2781,7 @@
(if msg (message "%s" msg) (message nil))))
(defun sh-show-indent (arg)
- "Show the how the currently line would be indented.
+ "Show the how the current line would be indented.
This tells you which variable, if any, controls the indentation of
this line.
If optional arg ARG is non-null (called interactively with a prefix),