]> code.delx.au - gnu-emacs-elpa/commitdiff
Fix typo that completely broke everything
authorArtur Malabarba <bruce.connor.am@gmail.com>
Sun, 13 Sep 2015 14:21:02 +0000 (15:21 +0100)
committerArtur Malabarba <bruce.connor.am@gmail.com>
Sun, 13 Sep 2015 14:21:02 +0000 (15:21 +0100)
nameless.el

index f7ae637f83205cfed6b70c397dd987ce763b951c..b390cdc92bd4472894d0662d09a65214f7041d3d 100644 (file)
@@ -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.