[ESS] patch: identing quit statement like run statement in ess-sas
Vinh Nguyen
vinhdizzo at gmail.com
Wed Jun 12 22:05:43 CEST 2013
I believe the quit statement should be indented like the run
statement. Attached is the patch. Hopefully this gets incorporated.
diff --git a/lisp/ess-sas-l.el b/lisp/ess-sas-l.el
index 912e469..b9ff685 100644
--- a/lisp/ess-sas-l.el
+++ b/lisp/ess-sas-l.el
@@ -811,7 +811,7 @@ number."
(back-to-indentation)
(or (bobp)
(looking-at
- "data[ ;]\\|proc[ ;]\\|run[ ;]\\|endsas[
;]\\|g?options[ ;]\\|%macro[ ;]\\|%mend[ ;]")))
+ "data[ ;]\\|proc[ ;]\\|run[ ;]\\|quit[
;]\\|endsas[ ;]\\|g?options[ ;]\\|%macro[ ;]\\|%mend[ ;]")))
;; Case where current statement is DATA, PROC, etc...
(setq prev-end (point))
(goto-char (point-min))
-- Vinh
More information about the ESS-help
mailing list