From ddaa7eaa58313054ce87e14fdced7001a98e2f9c Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Mon, 11 Nov 2013 15:56:48 +0900 Subject: [PATCH] fix for emacs23 --- emacs.el | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/emacs.el b/emacs.el index 5a534a8..d9012e1 100644 --- a/emacs.el +++ b/emacs.el @@ -2097,6 +2097,12 @@ this is test, does not rename files" (concat my-system-info (ad-get-arg 0)))) +(when (< emacs-major-version 24) + (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