branch: elpa/d-mode
commit dee393ba6ab61fbdb8b13c8386797f01e75410bc
Author: Vladimir Panteleev <[email protected]>
Commit: Vladimir Panteleev <[email protected]>

    Fix setting the mode menu
    
    Set the c-mode-menu value for D instead of clobbering the default.
---
 d-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/d-mode.el b/d-mode.el
index c2f5aae..b214fdca 100644
--- a/d-mode.el
+++ b/d-mode.el
@@ -526,7 +526,7 @@ Each list item should be a regexp matching a single 
identifier."
 (c-lang-defconst c-mode-menu
   ;; The definition for the mode menu.  The menu title is prepended to
   ;; this before it's fed to `easy-menu-define'.
-  t `(["Comment Out Region"     comment-region
+  d `(["Comment Out Region"     comment-region
        (c-fn-region-is-active-p)]
       ["Uncomment Region"       (comment-region (region-beginning)
                                                (region-end) '(4))

Reply via email to