]> git.eshelyaron.com Git - emacs.git/commitdiff
Change command-completion-using-modes-p to defun
authorLars Ingebrigtsen <larsi@gnus.org>
Sat, 20 Feb 2021 14:43:26 +0000 (15:43 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Sat, 20 Feb 2021 14:43:26 +0000 (15:43 +0100)
* lisp/simple.el (command-completion-using-modes-p): Change into a
defun for now because of a build problem.

lisp/simple.el

index 121b4d35a734b0873a6eca9da18b4595198b6184..26710e6d53d8231a2c0c37d2ee4ee821ab17f458 100644 (file)
@@ -1994,7 +1994,7 @@ This function uses the `read-extended-command-predicate' user option."
                        (funcall read-extended-command-predicate sym buffer)))))
        t nil 'extended-command-history))))
 
-(define-inline command-completion-using-modes-p (symbol buffer)
+(defun command-completion-using-modes-p (symbol buffer)
   "Say whether SYMBOL has been marked as a mode-specific command in BUFFER."
   ;; Check the modes.
   (let ((modes (command-modes symbol)))