From 1f4ced47a1d2387be3c439f6858cf5fa1903cac8 Mon Sep 17 00:00:00 2001 From: Po Lu via Date: Tue, 5 Oct 2021 09:22:57 +0200 Subject: [PATCH] Fix cc-compat.el syntax error * lisp/obsolete/cc-compat.el (offsets): Fix syntax error in BOCM style setup. --- lisp/obsolete/cc-compat.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)) -- 2.39.2