emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-28 1f4ced4: Fix cc-compat.el syntax error


From: Lars Ingebrigtsen
Subject: emacs-28 1f4ced4: Fix cc-compat.el syntax error
Date: Tue, 5 Oct 2021 03:23:06 -0400 (EDT)

branch: emacs-28
commit 1f4ced47a1d2387be3c439f6858cf5fa1903cac8
Author: Po Lu via <emacs-devel@gnu.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    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 037a8e9..2c383d3 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))
 
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]