emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/dockerfile-mode 7223d92718 081/104: Support indentation fo


From: ELPA Syncer
Subject: [nongnu] elpa/dockerfile-mode 7223d92718 081/104: Support indentation for comments
Date: Sat, 29 Jan 2022 07:58:38 -0500 (EST)

branch: elpa/dockerfile-mode
commit 7223d92718f78fa3ab15667cdb2ed90cfeb579e7
Author: Terje Larsen <terlar@gmail.com>
Commit: Drew Csillag <drew@thecsillags.com>

    Support indentation for comments
---
 dockerfile-mode.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dockerfile-mode.el b/dockerfile-mode.el
index c338ae78a8..9c9f61ec7e 100644
--- a/dockerfile-mode.el
+++ b/dockerfile-mode.el
@@ -120,8 +120,8 @@ Each element of the list will be passed as a separate
 
 Lines beginning with a keyword are ignored, and any others are
 indented by one `tab-width'."
-  (unless (eq (get-text-property (point-at-bol) 'face)
-              'font-lock-keyword-face)
+  (unless (member (get-text-property (point-at-bol) 'face)
+                  '(font-lock-comment-delimiter-face font-lock-keyword-face))
     (save-excursion
       (beginning-of-line)
       (skip-chars-forward "[ \t]" (point-at-eol))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]