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

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

[nongnu] elpa/annotate 1313777f03 098/372: - added args to local functio


From: ELPA Syncer
Subject: [nongnu] elpa/annotate 1313777f03 098/372: - added args to local function.
Date: Fri, 4 Feb 2022 16:58:22 -0500 (EST)

branch: elpa/annotate
commit 1313777f03f372da4fed53d9b95e39b073ab40a2
Author: cage <cage-invalid@invalid>
Commit: cage <cage-invalid@invalid>

    - added args to local function.
---
 annotate.el | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/annotate.el b/annotate.el
index ab5b37937f..33868e326a 100644
--- a/annotate.el
+++ b/annotate.el
@@ -980,7 +980,7 @@ essentially what you get from:
                                                   'action 
'annotate-summary-button-pressed
                                                   'type   
'annotate-summary-button)
                                    (insert "\n\n"))
-              (build-snippet ()
+              (build-snippet (filename annotation-begin annotation-end)
                              (with-temp-buffer
                                (insert-file-contents filename
                                                      nil
@@ -1008,7 +1008,9 @@ essentially what you get from:
                                                 (annotate-text-of-annotation 
annotation-field)))
                       (annotation-begin (annotate-beginning-of-annotation 
annotation-field))
                       (annotation-end   (annotate-ending-of-annotation    
annotation-field))
-                      (snippet-text     (build-snippet)))
+                      (snippet-text     (build-snippet filename
+                                                       annotation-begin
+                                                       annotation-end)))
                  (insert-item-summary snippet-text button-text))))))))))
 
 (provide 'annotate)



reply via email to

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