[logaling-commit] logaling/logalimacs [master] Delete needless ansi-color function

Back to archive index

Yuta Yamada null+****@clear*****
Sun Aug 26 16:35:11 JST 2012


Yuta Yamada	2012-08-26 16:35:11 +0900 (Sun, 26 Aug 2012)

  New Revision: ee2d81121b7faad32111da02f785b3ecd7096bb1
  https://github.com/logaling/logalimacs/commit/ee2d81121b7faad32111da02f785b3ecd7096bb1

  Log:
    Delete needless ansi-color function

  Modified files:
    logalimacs.el

  Modified: logalimacs.el (+1 -5)
===================================================================
--- logalimacs.el    2012-08-26 16:31:38 +0900 (b96b4c3)
+++ logalimacs.el    2012-08-26 16:35:11 +0900 (170a80d)
@@ -61,9 +61,6 @@
 ;; json
 (require 'json)
 
-;; for ansi-color
-(require 'ansi-color)
-
 ;; for flymake-err-info
 (require 'flymake)
 
@@ -263,11 +260,10 @@ Example:
     (:buffer (loga-quit))
     (:popup  (loga-lookup-in-buffer))))
 
-;; @todo apply ansi-color
 (defun loga-to-shell (cmd &optional arg async?)
   (if async?
       (async-shell-command (concat cmd " " arg) "*logalimacs*")
-    (ansi-color-apply (shell-command-to-string (concat cmd " " arg " &")))))
+    (shell-command-to-string (concat cmd " " arg " &"))))
 
 (defun loga-do-ruby (body)
   (shell-command-to-string (concat "ruby -e " "'" body "'")))
-------------- next part --------------
An HTML attachment was scrubbed...
Télécharger 



More information about the logaling-commit mailing list
Back to archive index