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

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

[elpa] master b9fd4d7 3/7: Fix typo that completely broke everything


From: Artur Malabarba
Subject: [elpa] master b9fd4d7 3/7: Fix typo that completely broke everything
Date: Sun, 13 Sep 2015 15:01:12 +0000

branch: master
commit b9fd4d7c9cd33ace72d14505eca2b661a534e5ad
Author: Artur Malabarba <address@hidden>
Commit: Artur Malabarba <address@hidden>

    Fix typo that completely broke everything
---
 nameless.el |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/nameless.el b/nameless.el
index f7ae637..b390cdc 100644
--- a/nameless.el
+++ b/nameless.el
@@ -223,11 +223,7 @@ configured, or if `nameless-current-name' is nil."
 
 (defun nameless--name-regexp (name)
   "Return a regexp of the current name."
-  (concat "\\_<@?\\(_" (regexp-quote name) "-\\)\\(\\s_\\|\\sw\\)"))
-
-(defun nameless--private-name-regexp (name)
-  "Return a regexp of the current private name."
-  (concat "\\_<@?\\(" (regexp-quote name) "--\\)\\(\\s_\\|\\sw\\)"))
+  (concat "\\_<@?\\(" (regexp-quote name) "-\\)\\(\\s_\\|\\sw\\)"))
 
 (defun nameless--filter-string (s)
   "Remove from string S any disply or composition properties.



reply via email to

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