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

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

[elpa] master 6644d8e 195/348: ivy-display.el: Move to wiki


From: Oleh Krehel
Subject: [elpa] master 6644d8e 195/348: ivy-display.el: Move to wiki
Date: Sat, 8 Apr 2017 11:03:55 -0400 (EDT)

branch: master
commit 6644d8e3ea0a7762f0355381795684653cfd362c
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>

    ivy-display.el: Move to wiki
    
    ivy-display.el is more experimental than useful, and depends on popup.el
    and lv.el. That's why I don't want to bundle it with Ivy.
---
 ivy-display.el | 45 ---------------------------------------------
 ivy.el         |  3 ++-
 2 files changed, 2 insertions(+), 46 deletions(-)

diff --git a/ivy-display.el b/ivy-display.el
deleted file mode 100644
index 18997a9..0000000
--- a/ivy-display.el
+++ /dev/null
@@ -1,45 +0,0 @@
-;;; ivy-display.el --- Experimental display functions for Ivy  -*- 
lexical-binding: t; -*-
-
-;; Copyright (C) 2016  Oleh Krehel
-
-;; Author: Oleh Krehel <address@hidden>
-;; Keywords: convenience
-
-;; This program is free software; you can redistribute it and/or modify
-;; it under the terms of the GNU General Public License as published by
-;; the Free Software Foundation, either version 3 of the License, or
-;; (at your option) any later version.
-
-;; This program is distributed in the hope that it will be useful,
-;; but WITHOUT ANY WARRANTY; without even the implied warranty of
-;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-;; GNU General Public License for more details.
-
-;; You should have received a copy of the GNU General Public License
-;; along with this program.  If not, see <http://www.gnu.org/licenses/>.
-
-;;; Commentary:
-;;
-;; This package experiments with using other packages' display
-;; functions for Ivy.
-
-;;; Code:
-(require 'lv nil t)
-(require 'popup nil t)
-
-(defun ivy-display-function-lv (text)
-  (let ((lv-force-update t))
-    (lv-message
-     (if (string-match "\\`\n" text)
-         (substring text 1)
-       text))))
-
-(defun ivy-display-function-popup (text)
-  (with-ivy-window
-    (popup-tip
-     (setq ivy-insert-debug
-           (substring text 1))
-     :nostrip t)))
-
-(provide 'ivy-display)
-;;; ivy-display.el ends here
diff --git a/ivy.el b/ivy.el
index e8c4c8b..093c5e8 100644
--- a/ivy.el
+++ b/ivy.el
@@ -176,7 +176,8 @@ Only \"./\" and \"../\" apply here. They appear in reverse 
order."
 (defcustom ivy-display-function nil
   "Decide where to display the candidates.
 This function takes a string with the current matching candidates
-and has to display it somewhere."
+and has to display it somewhere.
+See https://github.com/abo-abo/swiper/wiki/ivy-display-function.";
   :type '(choice
           (const :tag "Minibuffer" nil)
           (const :tag "LV" ivy-display-function-lv)



reply via email to

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