diff options
author | Ulrich Müller <ulm@gentoo.org> | 2020-02-08 14:32:12 +0100 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2020-02-08 14:32:12 +0100 |
commit | 44dd2cd796f9f7e6e281e1e9d89124de3814426c (patch) | |
tree | dd6e4a9dcd1306d0f5c4e633ddc90ff65929ebba /devbook-mode.el | |
parent | New devbook-mode for editing the Gentoo Devmanual. (diff) | |
download | ebuild-mode-44dd2cd796f9f7e6e281e1e9d89124de3814426c.tar.gz ebuild-mode-44dd2cd796f9f7e6e281e1e9d89124de3814426c.tar.bz2 ebuild-mode-44dd2cd796f9f7e6e281e1e9d89124de3814426c.zip |
In devbook-mode, set tab-width to 4.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'devbook-mode.el')
-rw-r--r-- | devbook-mode.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/devbook-mode.el b/devbook-mode.el index 5978258..d2d1dde 100644 --- a/devbook-mode.el +++ b/devbook-mode.el @@ -34,6 +34,8 @@ ;; within the limit (and arguably, 80 includes the newline). (setq fill-column 79) (setq indent-tabs-mode nil) + ;; Tabs are allowed in ebuild codesamples, so this isn't redundant. + (setq tab-width 4) ;; *** FIXME *** The style guide says no indentation, except inside ;; <tr>, <ul>, <ol> and <dl>, where it must be 2 spaces. There is no ;; easy way to achieve this, so set to 0 which is right more often. |