浏览代码

fix bug

system info duplicate like "[usr@host] [user@host]" when completing-read
is adviced
pull/1/head
10sr 10 年前
父节点
当前提交
592c03caa7
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. +4
    -4
      emacs.el

+ 4
- 4
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))))

正在加载...
取消
保存