emacs-diffs
[Top][All Lists]
Advanced

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

scratch/command 0941b89 1/2: Fix the completion predicate


From: Lars Ingebrigtsen
Subject: scratch/command 0941b89 1/2: Fix the completion predicate
Date: Fri, 12 Feb 2021 06:37:22 -0500 (EST)

branch: scratch/command
commit 0941b89870c5e7156a4fadfa8361a45f79cdc4c4
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Fix the completion predicate
---
 lisp/emacs-lisp/byte-run.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/emacs-lisp/byte-run.el b/lisp/emacs-lisp/byte-run.el
index 4603b7c..2d34c98 100644
--- a/lisp/emacs-lisp/byte-run.el
+++ b/lisp/emacs-lisp/byte-run.el
@@ -146,7 +146,7 @@ The return value of this function is not used."
 (defalias 'byte-run--set-completion
   #'(lambda (f _args val)
       (list 'function-put (list 'quote f)
-            ''completion-predicate (list 'quote val))))
+            ''completion-predicate val)))
 
 ;; Add any new entries to info node `(elisp)Declare Form'.
 (defvar defun-declarations-alist



reply via email to

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