]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix cc-compat.el syntax error
authorPo Lu via <emacs-devel@gnu.org>
Tue, 5 Oct 2021 07:22:57 +0000 (09:22 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 5 Oct 2021 07:22:57 +0000 (09:22 +0200)
* lisp/obsolete/cc-compat.el (offsets): Fix syntax error in BOCM
style setup.

lisp/obsolete/cc-compat.el

index 037a8e9e87c3be0a22674ed592c3d7657537fe20..2c383d31c8410b874ee8595782ba8b50211abca5 100644 (file)
@@ -80,7 +80,7 @@ This is in addition to c-continued-statement-offset.")
 \f
 ;; these offsets are taken by brute force testing c-mode.el, since
 ;; there's no logic to what it does.
-(let* ((offsets        '(c-offsets-alist .
+(let* ((offsets        '((c-offsets-alist .
                    ((defun-block-intro     . cc-block-intro-offset)
                     (statement-block-intro . cc-block-intro-offset)
                     (defun-open            . 0)
@@ -95,7 +95,7 @@ This is in addition to c-continued-statement-offset.")
                     (case-label            . c-label-offset)
                     (access-label          . c-label-offset)
                     (label                 . c-label-offset)
-                    ))))
+                    )))))
   (c-add-style "BOCM" offsets))