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

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

[nongnu] elpa/drupal-mode 043644e85d 109/308: Set correct comment style


From: ELPA Syncer
Subject: [nongnu] elpa/drupal-mode 043644e85d 109/308: Set correct comment style for inline comments.
Date: Tue, 25 Jan 2022 10:59:35 -0500 (EST)

branch: elpa/drupal-mode
commit 043644e85dd596778b615f8fd3a9ce0c048c779d
Author: Arne Jørgensen <arne@arnested.dk>
Commit: Arne Jørgensen <arne@arnested.dk>

    Set correct comment style for inline comments.
---
 drupal-mode.el | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/drupal-mode.el b/drupal-mode.el
index 372f63ab75..c061ffa8af 100644
--- a/drupal-mode.el
+++ b/drupal-mode.el
@@ -253,6 +253,11 @@ function arguments.")
            #'drupal-eldoc-documentation-function)
       (eldoc-mode 1))
 
+    ;; Set correct comment style for inline comments.
+    (setq comment-start "//")
+    (setq comment-padding " ")
+    (setq comment-end "")
+
     ;; Setup cc-mode style stuff.
     (when (derived-mode-p 'c-mode)
       (c-add-language 'drupal-mode 'c-mode)



reply via email to

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