1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-22 07:09:54 +00:00

Fix cc-compat.el syntax error

* lisp/obsolete/cc-compat.el (offsets): Fix syntax error in BOCM
style setup.
This commit is contained in:
Po Lu via 2021-10-05 09:22:57 +02:00 committed by Lars Ingebrigtsen
parent b431f54c1b
commit 1f4ced47a1

View File

@ -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))