From: Po Lu via Date: Tue, 5 Oct 2021 07:22:57 +0000 (+0200) Subject: Fix cc-compat.el syntax error X-Git-Tag: emacs-28.0.90~401 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1f4ced47a1;p=emacs.git Fix cc-compat.el syntax error * lisp/obsolete/cc-compat.el (offsets): Fix syntax error in BOCM style setup. --- diff --git a/lisp/obsolete/cc-compat.el b/lisp/obsolete/cc-compat.el index 037a8e9e87c..2c383d31c84 100644 --- a/lisp/obsolete/cc-compat.el +++ b/lisp/obsolete/cc-compat.el @@ -80,7 +80,7 @@ This is in addition to c-continued-statement-offset.") ;; 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))