From b9fd4d7c9cd33ace72d14505eca2b661a534e5ad Mon Sep 17 00:00:00 2001 From: Artur Malabarba Date: Sun, 13 Sep 2015 15:21:02 +0100 Subject: [PATCH] Fix typo that completely broke everything --- nameless.el | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/nameless.el b/nameless.el index f7ae637f8..b390cdc92 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. -- 2.39.2