]> git.eshelyaron.com Git - emacs.git/commitdiff
(c-basic-common-init): don't set open-paren-in-column-0-is-defun-start to
authorAlan Mackenzie <acm@muc.de>
Sun, 17 Dec 2006 22:15:46 +0000 (22:15 +0000)
committerAlan Mackenzie <acm@muc.de>
Sun, 17 Dec 2006 22:15:46 +0000 (22:15 +0000)
nil any more.

lisp/progmodes/cc-mode.el

index 7c48967abde26ba433d8996699d62340f8321152..40407f3819a258cba34969085dbf7704f3fd7ff4 100644 (file)
@@ -531,9 +531,11 @@ that requires a literal mode spec at compile time."
   ;; 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)