Skip to content

Commit 47b371f

Browse files
committed
Line up cascaded method calls (fixes #19)
1 parent caca5bb commit 47b371f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

php-mode.el

+3-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
(defconst php-mode-version-number "1.6.6"
1414
"PHP Mode version number.")
1515

16-
(defconst php-mode-modified "2012-08-27"
16+
(defconst php-mode-modified "2012-09-06"
1717
"PHP Mode build date.")
1818

1919
;;; License
@@ -443,6 +443,8 @@ This is was done due to the problem reported here:
443443
(set (make-local-variable 'c-opt-cpp-start) php-tags-key)
444444
(set (make-local-variable 'c-opt-cpp-prefix) php-tags-key)
445445

446+
(c-set-offset 'topmost-intro-cont 'c-lineup-cascaded-calls)
447+
446448
(set (make-local-variable 'c-block-stmt-1-key) php-block-stmt-1-key)
447449
(set (make-local-variable 'c-block-stmt-2-key) php-block-stmt-2-key)
448450

0 commit comments

Comments
 (0)