/[emacs]/emacs/lisp/progmodes/sh-script.el
ViewVC logotype

Diff of /emacs/lisp/progmodes/sh-script.el

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.103 by sds, Fri Oct 26 15:37:54 2001 UTC revision 1.104 by rms, Sun Nov 11 20:07:46 2001 UTC
# Line 1662  region, clear header." Line 1662  region, clear header."
1662  ;; Indentation stuff.  ;; Indentation stuff.
1663  (defun sh-must-be-shell-mode ()  (defun sh-must-be-shell-mode ()
1664    "Signal an error if not in Shell-script mode."    "Signal an error if not in Shell-script mode."
1665    (unless (eq major-mode 'sh-mode)    (unless (derived-mode-p 'sh-mode)
1666      (error "This buffer is not in Shell-script mode")))      (error "This buffer is not in Shell-script mode")))
1667    
1668  (defun sh-must-support-indent ()  (defun sh-must-support-indent ()
# Line 1670  region, clear header." Line 1670  region, clear header."
1670  Also, the buffer must be in Shell-script mode."  Also, the buffer must be in Shell-script mode."
1671    (sh-must-be-shell-mode)    (sh-must-be-shell-mode)
1672    (unless sh-indent-supported-here    (unless sh-indent-supported-here
1673      (error "This buffer's shell type is not supported for this command")))      (error "This buffer's shell does not support indentation through Emacs")))
1674    
1675  (defun sh-make-vars-local ()  (defun sh-make-vars-local ()
1676    "Make the indentation variables local to this buffer.    "Make the indentation variables local to this buffer.

Legend:
Removed from v.1.103  
changed lines
  Added in v.1.104

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26