From 592c03caa76ce13ca39e9ebd189d9267a66e4c15 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Fri, 18 Oct 2013 18:41:23 +0900 Subject: [PATCH] fix bug system info duplicate like "[usr@host] [user@host]" when completing-read is adviced --- emacs.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/emacs.el b/emacs.el index 78b4b16..e9b82f0 100644 --- a/emacs.el +++ b/emacs.el @@ -2083,7 +2083,7 @@ this is test, does not rename files" (concat my-system-info (ad-get-arg 0)))) -(defadvice completing-read (before info-in-prompt activate) - (ad-set-arg 0 - (concat my-system-info - (ad-get-arg 0)))) +;; (defadvice completing-read (before info-in-prompt activate) +;; (ad-set-arg 0 +;; (concat my-system-info +;; (ad-get-arg 0))))