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

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

[elpa] externals/vundo 115b9612b0 2/7: Rename vundo--window-max-height t


From: ELPA Syncer
Subject: [elpa] externals/vundo 115b9612b0 2/7: Rename vundo--window-max-height to avoid the double-dash
Date: Sun, 24 Apr 2022 18:57:52 -0400 (EDT)

branch: externals/vundo
commit 115b9612b07a7caed7f5aed80f81c08d3ae68202
Author: Damien Cassou <damien@cassou.me>
Commit: Yuan Fu <casouri@gmail.com>

    Rename vundo--window-max-height to avoid the double-dash
    
    * vundo.el (vundo--window-max-height): Rename.
    (vundo): Use renamed variable.
---
 vundo.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/vundo.el b/vundo.el
index 9de5ca1b5c..eaf7712a6c 100644
--- a/vundo.el
+++ b/vundo.el
@@ -183,7 +183,7 @@
   "If non-nil, vundo will roll back the change when it quits."
   :type 'boolean)
 
-(defcustom vundo--window-max-height 3
+(defcustom vundo-window-max-height 3
   "The maximum height of the vundo window."
   :type 'integer)
 
@@ -740,7 +740,7 @@ This function modifies ‘vundo--prev-mod-list’,
         (window-height . 3))))
     (set-window-dedicated-p nil t)
     (let ((window-min-height 3))
-      (fit-window-to-buffer nil vundo--window-max-height))
+      (fit-window-to-buffer nil vundo-window-max-height))
     (goto-char
      (vundo-m-point
       (vundo--current-node vundo--prev-mod-list)))



reply via email to

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