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

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

[elpa] externals/omn-mode 4757915 4/6: Underscore namespace added.


From: Phillip Lord
Subject: [elpa] externals/omn-mode 4757915 4/6: Underscore namespace added.
Date: Mon, 03 Aug 2015 21:55:55 +0000

branch: externals/omn-mode
commit 47579150869a66bde7a56a7846b6e61197e621f8
Author: Phillip Lord <address@hidden>
Commit: Phillip Lord <address@hidden>

    Underscore namespace added.
    
    genids use an underscore namespace, and we might as well highlight these
    all in the same way.
---
 omn-mode.el |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/omn-mode.el b/omn-mode.el
index 34f346f..d3a6b9b 100644
--- a/omn-mode.el
+++ b/omn-mode.el
@@ -183,10 +183,8 @@ See `imenu-generic-expression' for details")
     ;; define comment characters for syntax
     (modify-syntax-entry ?\# "<" st)
     (modify-syntax-entry ?\n ">" st)
-    ;; Let's not confuse "words" and "symbols": "_" should not be part of the
-    ;; definition of a "word".
-    ;;(modify-syntax-entry ?\_ "w" st)
-    ;; For name space prefixes.
+    ;; For name space prefixes, including the "_" which is used by genids.
+    (modify-syntax-entry ?\_ "w" st)
     (modify-syntax-entry ?\: "w" st)
     st))
 



reply via email to

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