diff options
author | Theodor Thornhill <theo@thornhill.no> | 2023-02-17 20:46:19 +0100 |
---|---|---|
committer | Theodor Thornhill <theo@thornhill.no> | 2023-02-19 20:47:05 +0100 |
commit | c544df4fa3f217d0039bb9cb38c809c830558c25 (patch) | |
tree | 42866178c7efae24f7bb88b1d564166ab61338c6 /lisp/org/ob-clojure.el | |
parent | d397f3d508464b1eab2d2b3b7e4c3b80aff9d536 (diff) | |
download | emacs-c544df4fa3f217d0039bb9cb38c809c830558c25.tar.gz emacs-c544df4fa3f217d0039bb9cb38c809c830558c25.tar.bz2 emacs-c544df4fa3f217d0039bb9cb38c809c830558c25.zip |
Cleanup preproc indent for c-ts-mode (bug#61558)
* lisp/progmodes/c-ts-mode.el (c-ts-mode--indent-styles): Make sure we
indent to great-grand-parent if inside an #ifdef...#endif block. If
grand-parent is root node, then don't indent one step.
(c-ts-mode--preproc-offset): New helper anchor function to calculate
indent offset.
Diffstat (limited to 'lisp/org/ob-clojure.el')
0 files changed, 0 insertions, 0 deletions