]> git.earman.xyz Git - emacsinit.git/commitdiff
Make c-style do what I want on backspace
authorrearman <rearman@r717.net>
Thu, 13 Apr 2023 19:28:28 +0000 (15:28 -0400)
committerrearman <rearman@r717.net>
Thu, 13 Apr 2023 19:28:28 +0000 (15:28 -0400)
init.org

index 038d5e6c48f3483234e8dfc1cddf2d8393174644..9420e347807c9c97c9f9405bb6f2f81543fd2b13 100644 (file)
--- a/init.org
+++ b/init.org
@@ -444,6 +444,7 @@ Please use Tabs in C files, I'm BEGGING.  Absolutely ridiculous that there's no
          (lambda ()
            (setq indent-tabs-mode t)
            (setq show-trailing-whitespace t)
+           (setq c-backspace-function 'backward-delete-char) ;; don't expand my tabs, just delete them.
            (c-set-style "linux-tabs-only")))
 #+END_SRC