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

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

[elpa] master 3c06695 56/72: Amend the key regex in docstring to include


From: Oleh Krehel
Subject: [elpa] master 3c06695 56/72: Amend the key regex in docstring to include <>
Date: Fri, 06 Mar 2015 13:04:20 +0000

branch: master
commit 3c066953e5b4ab8cdf8cc4b3b950f81617ed01cd
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>

    Amend the key regex in docstring to include <>
    
    Re #50.
---
 hydra.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/hydra.el b/hydra.el
index fdc5379..0f501d5 100644
--- a/hydra.el
+++ b/hydra.el
@@ -447,7 +447,7 @@ The expressions can be auto-expanded according to NAME."
         offset)
     (while (setq start
                  (string-match
-                  "\\(?:%\\( 
?-?[0-9]*\\)\\(`[a-z-A-Z/0-9]+\\|(\\)\\)\\|\\(?:_\\( 
?-?[0-9]*\\)\\([a-z-~A-Z0-9/]+\\)_\\)"
+                  "\\(?:%\\( 
?-?[0-9]*\\)\\(`[a-z-A-Z/0-9]+\\|(\\)\\)\\|\\(?:_\\( 
?-?[0-9]*\\)\\([a-z-~A-Z0-9/<>]+\\)_\\)"
                   docstring start))
       (cond ((eq ?_ (aref (match-string 0 docstring) 0))
              (let* ((key (match-string 4 docstring))



reply via email to

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