changeset 74702:2d3815650232

(c-basic-common-init): don't set open-paren-in-column-0-is-defun-start to nil any more.
author Alan Mackenzie <acm@muc.de>
date Sun, 17 Dec 2006 22:15:46 +0000
parents 14b7babc6a00
children be5e68ff2673
files lisp/progmodes/cc-mode.el
diffstat 1 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/cc-mode.el	Sun Dec 17 22:14:48 2006 +0000
+++ b/lisp/progmodes/cc-mode.el	Sun Dec 17 22:15:46 2006 +0000
@@ -531,9 +531,11 @@
   ;; heuristic that open parens in column 0 are defun starters.  Since
   ;; we have c-state-cache, that heuristic isn't useful and only causes
   ;; trouble, so turn it off.
-  (when (memq 'col-0-paren c-emacs-features)
-    (make-local-variable 'open-paren-in-column-0-is-defun-start)
-    (setq open-paren-in-column-0-is-defun-start nil))
+;; 2006/12/17: This facility is somewhat confused, and doesn't really seem
+;; helpful.  Comment it out for now.
+;;   (when (memq 'col-0-paren c-emacs-features)
+;;     (make-local-variable 'open-paren-in-column-0-is-defun-start)
+;;     (setq open-paren-in-column-0-is-defun-start nil))
 
   (c-clear-found-types)