emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/ivy-explorer 5161d5f 06/29: Remove unused ivy-explorer-


From: Clemens Radermacher
Subject: [elpa] externals/ivy-explorer 5161d5f 06/29: Remove unused ivy-explorer-lv-force-update variable
Date: Tue, 12 Mar 2019 09:04:34 -0400 (EDT)

branch: externals/ivy-explorer
commit 5161d5f1ff28c30e8148e1a9c6f10b2e869f1aad
Author: Clemens Radermacher <address@hidden>
Commit: Clemens Radermacher <address@hidden>

    Remove unused ivy-explorer-lv-force-update variable
---
 ivy-explorer.el | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/ivy-explorer.el b/ivy-explorer.el
index cf012eb..993ded0 100644
--- a/ivy-explorer.el
+++ b/ivy-explorer.el
@@ -142,11 +142,6 @@ menu string as `cdr'."
 (defvar ivy-explorer--window nil
   "Holds the current ivy explorer window.")
 
-(defvar ivy-explorer-lv-force-update nil
-  "When non-nil, `ivy-explorer--lv-message' will refresh.
-Even for the same string.")
-
-
 (defmacro ivy-explorer--lv-command (cmd)
   `(defun ,(intern (format "%s-lv" (symbol-name cmd))) ()
      (interactive)
@@ -207,13 +202,11 @@ Even for the same string.")
 (defun ivy-explorer--lv-message (str)
   "Set ivy explorer window contents to string STR."
   (let* ((n-lines (cl-count ?\n str))
-         (ivy-explorer-lv-force-update t)
          (window-size-fixed nil)
          deactivate-mark
          golden-ratio-mode)
     (with-selected-window (ivy-explorer--lv)
-      (unless (and (string= (buffer-string) str)
-                   (null ivy-explorer-lv-force-update))
+      (unless (string= (buffer-string) str)
         (delete-region (point-min) (point-max))
         (insert str)
         (when (and (window-system) ivy-explorer-use-separator)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]