branch: master
commit b9fd4d7c9cd33ace72d14505eca2b661a534e5ad
Author: Artur Malabarba <[email protected]>
Commit: Artur Malabarba <[email protected]>
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.