* cc-compat fix
[not found] <87y2785klr.fsf.ref@yahoo.com>
@ 2021-10-05 1:25 ` Po Lu via Emacs development discussions.
2021-10-05 7:24 ` Lars Ingebrigtsen
0 siblings, 1 reply; 3+ messages in thread
From: Po Lu via Emacs development discussions. @ 2021-10-05 1:25 UTC (permalink / raw)
To: emacs-devel
[-- Attachment #1: Type: text/plain, Size: 101 bytes --]
This keeps cc-compat from failing, though I have no idea if it still
works entirely. It seems to.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: fix-cc-compat.patch --]
[-- Type: text/x-patch, Size: 800 bytes --]
diff --git a/lisp/obsolete/cc-compat.el b/lisp/obsolete/cc-compat.el
index 037a8e9e87..2c383d31c8 100644
--- a/lisp/obsolete/cc-compat.el
+++ b/lisp/obsolete/cc-compat.el
@@ -80,7 +80,7 @@ c-continued-brace-offset
\f
;; 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 @@ c-continued-brace-offset
(case-label . c-label-offset)
(access-label . c-label-offset)
(label . c-label-offset)
- ))))
+ )))))
(c-add-style "BOCM" offsets))
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-10-05 7:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <87y2785klr.fsf.ref@yahoo.com>
2021-10-05 1:25 ` cc-compat fix Po Lu via Emacs development discussions.
2021-10-05 7:24 ` Lars Ingebrigtsen
2021-10-05 7:29 ` Po Lu
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.