branch: externals/matlab-mode
commit e21423194991b3b2942c33d8d810e2a3f40d28b9
Author: John Ciolfi <john.ciolfi...@gmail.com>
Commit: John Ciolfi <john.ciolfi...@gmail.com>

    Remove tabs from org files
---
 .dir-locals.el                       |  4 +++-
 README.org                           |  6 +++---
 .dir-locals.el => doc/.dir-locals.el | 14 +++++---------
 tests/.dir-locals.el                 |  5 ++++-
 4 files changed, 15 insertions(+), 14 deletions(-)

diff --git a/.dir-locals.el b/.dir-locals.el
index e9385c8f21..aea3c47dca 100644
--- a/.dir-locals.el
+++ b/.dir-locals.el
@@ -32,6 +32,8 @@
                      (indent-tabs-mode . nil)
                      ;; Monitors are quite large and lisp code often has long 
variable / function
                      ;; names, so using a fill-column of 100 seems reasonable.
-                     (fill-column . 100))))
+                     (fill-column . 100)))
+ (org-mode . ((indent-tabs-mode . nil)
+             (fill-column . 100))))
 
 ;; LocalWords:  flycheck listp
diff --git a/README.org b/README.org
index b1c2b34292..9da905bb52 100644
--- a/README.org
+++ b/README.org
@@ -166,10 +166,10 @@ matlab-mode.
 In this case, add the following hook to your config:
 #+begin_src emacs-lisp
   (add-hook 'matlab-sections-mode-hook
-         (lambda () (interactive)
+            (lambda () (interactive)
               (font-lock-add-keywords
-            nil
-            `((,matlab-sections-section-break-regexp
+               nil
+               `((,matlab-sections-section-break-regexp
                   1 'matlab-sections-section-break-face prepend)))
               (font-lock-flush)))
 #+end_src
diff --git a/.dir-locals.el b/doc/.dir-locals.el
similarity index 66%
copy from .dir-locals.el
copy to doc/.dir-locals.el
index e9385c8f21..3564e21cab 100644
--- a/.dir-locals.el
+++ b/doc/.dir-locals.el
@@ -1,6 +1,6 @@
-;;; .dir-locals.el ---
+;;; doc/.dir-locals.el ---
 ;;
-;; Copyright (C) 2024 John Ciolfi
+;; Copyright 2025 Free Software Foundation
 ;;
 ;; Author: John Ciolfi <cio...@mathworks.com>
 ;;
@@ -26,12 +26,8 @@
 ;;
 ;;     (put 'flycheck-emacs-lisp-load-path 'safe-local-variable #'listp)
 
-((emacs-lisp-mode . ((flycheck-emacs-lisp-load-path . ("."))
-                     ;; Use spaces when TAB key is pressed, which helps with 
editors that have
-                     ;; different TAB stops.
-                     (indent-tabs-mode . nil)
-                     ;; Monitors are quite large and lisp code often has long 
variable / function
-                     ;; names, so using a fill-column of 100 seems reasonable.
-                     (fill-column . 100))))
+((org-mode . ((indent-tabs-mode . nil)
+             (fill-column . 100))))
+
 
 ;; LocalWords:  flycheck listp
diff --git a/tests/.dir-locals.el b/tests/.dir-locals.el
index 10c8e874d1..6b0cfc3e45 100644
--- a/tests/.dir-locals.el
+++ b/tests/.dir-locals.el
@@ -32,6 +32,9 @@
                      (indent-tabs-mode . nil)
                      ;; Monitors are quite large and lisp code often has long 
variable / function
                      ;; names, so using a fill-column of 100 seems reasonable.
-                     (fill-column . 100))))
+                     (fill-column . 100)))
+ (org-mode . ((indent-tabs-mode . nil)
+             (fill-column . 100))))
+
 
 ;; LocalWords:  flycheck listp

Reply via email to