[logaling-commit] logaling/logalimacs [master] loga-possible-json-p: delete unnecessary variables

Back to archive index

null+****@clear***** null+****@clear*****
Tue Jun 5 13:04:58 JST 2012


yuta yamada	2012-06-05 13:04:58 +0900 (Tue, 05 Jun 2012)

  New Revision: de564448905c1100f853810fd58d08151f4e9d95

  Log:
    loga-possible-json-p: delete unnecessary variables

  Modified files:
    logalimacs.el

  Modified: logalimacs.el (+2 -9)
===================================================================
--- logalimacs.el    2012-06-05 13:00:35 +0900 (6008d39)
+++ logalimacs.el    2012-06-05 13:04:58 +0900 (d221a6d)
@@ -61,11 +61,6 @@
 (defvar loga-fly-timer nil
   "timer object for loga-fly-mode")
 
-(defcustom loga-possible-json-p nil
-  "whether the popup correspond to json type"
-  :group 'logalimacs
-  :type 'boolean)
-
 (defcustom loga-popup-margin 0
   "margin variable for popup-tip"
   :group 'logalimacs
@@ -194,7 +189,7 @@
   (let* ((options '()))
     (if loga-use-dictionary-option
         (push "--dictionary" options))
-    (if (and loga-possible-json-p (eq loga-current-endpoint :popup))
+    (if (eq loga-current-endpoint :popup)
         (push "--output=json" options))
     (concat find-word " " (mapconcat 'identity options " "))))
 
@@ -489,9 +484,7 @@
     (cond
      ((and installed-p version)
       (message "Check OK: logaling-command already installed")
-      (if (version< "0.1.2" (loga-version-number))
-          ;; @todo sets true when resolved problem
-          (setq loga-possible-json-p nil)) t)
+      t)
      ((not (string-match "1.9.[0-9]\\|[2-9].[0-9].[0-9]" version))
       (message "Note: Ruby version errer, require Ruby 1.9.x"))
      (rvm-p




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