Browse Source

fix bug

system info duplicate like "[usr@host] [user@host]" when completing-read
is adviced
pull/1/head
10sr 11 years ago
parent
commit
592c03caa7
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      emacs.el

+ 4
- 4
emacs.el View File

@@ -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))))

Loading…
Cancel
Save