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

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

[elpa] externals/ivy-hydra 7ed3d85 223/395: Move recent varalias before


From: Basil L. Contovounesios
Subject: [elpa] externals/ivy-hydra 7ed3d85 223/395: Move recent varalias before its referent
Date: Thu, 25 Feb 2021 08:32:07 -0500 (EST)

branch: externals/ivy-hydra
commit 7ed3d858fa436442ebe1053b1530d89314a8fdd4
Author: Basil L. Contovounesios <contovob@tcd.ie>
Commit: Basil L. Contovounesios <contovob@tcd.ie>

    Move recent varalias before its referent
    
    * ivy.el (ivy-auto-shrink-minibuffer-alist): Silence byte-compiler
    by moving varalias before its referent, as described in the
    docstring of define-obsolete-variable-alias.
---
 ivy.el | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/ivy.el b/ivy.el
index a74a47a..1a46d91 100644
--- a/ivy.el
+++ b/ivy.el
@@ -3458,6 +3458,11 @@ Should be run via minibuffer `post-command-hook'."
         (when (region-active-p)
           (set-mark old-mark))))))
 
+(define-obsolete-variable-alias
+    'ivy-auto-shrink-minibuffer
+    'ivy-auto-shrink-minibuffer-alist
+  "<2020-04-28 Tue>")
+
 (defcustom ivy-auto-shrink-minibuffer-alist nil
   "An alist to configure auto-shrinking of the minibuffer.
 
@@ -3467,11 +3472,6 @@ height < `ivy-height', auto-shrink the minibuffer."
           :key-type symbol
           :value-type boolean))
 
-(define-obsolete-variable-alias
-    'ivy-auto-shrink-minibuffer
-    'ivy-auto-shrink-minibuffer-alist
-  "<2020-04-28 Tue>")
-
 (defun ivy--resize-minibuffer-to-fit ()
   "Resize the minibuffer window size to fit the text in the minibuffer."
   (unless (or (frame-root-window-p (minibuffer-window))



reply via email to

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