aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Mackenzie2006-12-17 22:15:46 +0000
committerAlan Mackenzie2006-12-17 22:15:46 +0000
commit99c8496ec52d9bf28681fa0b4033460e7b6f7d1a (patch)
tree3dd6e458d65072391b7f0ad7ff8ccdbf750c9884
parenta168699d171a658d539ee20082effdfb0530f4bb (diff)
downloademacs-99c8496ec52d9bf28681fa0b4033460e7b6f7d1a.tar.gz
emacs-99c8496ec52d9bf28681fa0b4033460e7b6f7d1a.zip
(c-basic-common-init): don't set open-paren-in-column-0-is-defun-start to
nil any more.
-rw-r--r--lisp/progmodes/cc-mode.el8
1 files changed, 5 insertions, 3 deletions
diff --git a/lisp/progmodes/cc-mode.el b/lisp/progmodes/cc-mode.el
index 7c48967abde..40407f3819a 100644
--- a/lisp/progmodes/cc-mode.el
+++ b/lisp/progmodes/cc-mode.el
@@ -531,9 +531,11 @@ that requires a literal mode spec at compile time."
531 ;; heuristic that open parens in column 0 are defun starters. Since 531 ;; heuristic that open parens in column 0 are defun starters. Since
532 ;; we have c-state-cache, that heuristic isn't useful and only causes 532 ;; we have c-state-cache, that heuristic isn't useful and only causes
533 ;; trouble, so turn it off. 533 ;; trouble, so turn it off.
534 (when (memq 'col-0-paren c-emacs-features) 534;; 2006/12/17: This facility is somewhat confused, and doesn't really seem
535 (make-local-variable 'open-paren-in-column-0-is-defun-start) 535;; helpful. Comment it out for now.
536 (setq open-paren-in-column-0-is-defun-start nil)) 536;; (when (memq 'col-0-paren c-emacs-features)
537;; (make-local-variable 'open-paren-in-column-0-is-defun-start)
538;; (setq open-paren-in-column-0-is-defun-start nil))
537 539
538 (c-clear-found-types) 540 (c-clear-found-types)
539 541