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

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

[elpa] externals/denote 68d8ea7d03 2/2: Remove superfluous 'funcall'


From: ELPA Syncer
Subject: [elpa] externals/denote 68d8ea7d03 2/2: Remove superfluous 'funcall'
Date: Thu, 27 Oct 2022 11:57:34 -0400 (EDT)

branch: externals/denote
commit 68d8ea7d035f3d2487af72358b758037dc375a9a
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Remove superfluous 'funcall'
    
    Thanks to Noboru Ota for pointing it out:
    
<https://lists.sr.ht/~protesilaos/denote/%3C86r0yvzm12.fsf%40nobiot.com%3E#%3C86h6zpmhpd.fsf@nobiot.com%3E>.
---
 denote.el | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/denote.el b/denote.el
index 1b25aa5f52..8a6b2e1d0f 100644
--- a/denote.el
+++ b/denote.el
@@ -2606,8 +2606,8 @@ from point (relevant when `denote-backlinks-show-context' 
is
 nil)."
   (interactive "p" denote-backlinks-mode)
   (if denote-backlinks-show-context
-      (funcall #'xref-next-line)
-    (funcall #'forward-button n)))
+      (xref-next-line)
+    (forward-button n)))
 
 (defun denote-backlinks-prev (&optional n)
   "Use appropriate command for backward motion in backlinks buffer.
@@ -2616,8 +2616,8 @@ from point (relevant when `denote-backlinks-show-context' 
is
 nil)."
   (interactive "p" denote-backlinks-mode)
   (if denote-backlinks-show-context
-      (funcall #'xref-prev-line)
-    (funcall #'backward-button n)))
+      (xref-prev-line)
+    (backward-button n)))
 
 (defvar denote-backlinks-mode-map
   (let ((m (make-sparse-keymap)))



reply via email to

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