summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo Lu via <emacs-devel@gnu.org>2021-10-05 09:22:57 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2021-10-05 09:22:57 +0200
commit1f4ced47a1d2387be3c439f6858cf5fa1903cac8 (patch)
treec26a7b092ace3dceb9436b3ffe4f8c2819d8842f
parentb431f54c1b01675ba36513474e14b206e26fd6fa (diff)
downloademacs-1f4ced47a1d2387be3c439f6858cf5fa1903cac8.tar.gz
Fix cc-compat.el syntax error
* lisp/obsolete/cc-compat.el (offsets): Fix syntax error in BOCM style setup.
-rw-r--r--lisp/obsolete/cc-compat.el4
1 files 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))