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

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

[nongnu] elpa/treeview 0d66ef2322 22/25: Made treeview-after-node-expand


From: ELPA Syncer
Subject: [nongnu] elpa/treeview 0d66ef2322 22/25: Made treeview-after-node-expanded-function and treeview-after-node-folded-function buffer-local
Date: Sat, 10 Sep 2022 17:59:38 -0400 (EDT)

branch: elpa/treeview
commit 0d66ef23227ba33a340021881e18212ee357bde0
Author: Tilman Rassy <tilman.rassy@googlemail.com>
Commit: Tilman Rassy <tilman.rassy@googlemail.com>

    Made treeview-after-node-expanded-function and 
treeview-after-node-folded-function buffer-local
---
 treeview.el | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/treeview.el b/treeview.el
index 3188b4ce4c..6676088b84 100644
--- a/treeview.el
+++ b/treeview.el
@@ -312,15 +312,19 @@ Called with one argument, the node.  For example, if the 
nodes represent
 directories, this function could re-read the directory to update the children.
 The function should not redisplay the node, this is done automatically.")
 
+(make-variable-buffer-local 'treeview-update-node-children-function)
+
 (defvar treeview-after-node-expanded-function 'treeview-do-nothing
   "Function to perform additional actions after a node has been expanded.
 Called with one argument, the node.")
 
+(make-variable-buffer-local 'treeview-after-node-expanded-function)
+
 (defvar treeview-after-node-folded-function 'treeview-do-nothing
   "Function to perform additional actions after a node has been expanded.
 Called with one argument, the node.")
 
-(make-variable-buffer-local 'treeview-update-node-children-function)
+(make-variable-buffer-local 'treeview-after-node-folded-function)
 
 (defvar treeview-get-indent-function nil
   "Function to create the indentation before a node.



reply via email to

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