; Minor simplification of two recent changes
This commit is contained in:
parent
90e65c826f
commit
f8d3d18168
2 changed files with 2 additions and 3 deletions
|
@ -1852,7 +1852,7 @@ to get different commands to edit and resubmit."
|
|||
(and (commandp (function-called-at-point))
|
||||
(format "%S" (function-called-at-point)))))
|
||||
(all (sort (minibuffer-default-add-completions)
|
||||
(lambda (a b) (string< a b)))))
|
||||
#'string<)))
|
||||
(if def
|
||||
(cons def (delete def all))
|
||||
all)))))
|
||||
|
|
|
@ -479,8 +479,7 @@ Subtests signal errors if something goes wrong."
|
|||
(ert-deftest bytecomp-tests--warnings ()
|
||||
(with-current-buffer (get-buffer-create "*Compile-Log*")
|
||||
(let ((inhibit-read-only t)) (erase-buffer)))
|
||||
(dolist (f '(my-test0 my--test11 my--test12 my--test2))
|
||||
(fset f nil))
|
||||
(mapc #'fmakunbound '(my-test0 my--test11 my--test12 my--test2))
|
||||
(test-byte-comp-compile-and-load t
|
||||
'(progn
|
||||
(defun my-test0 ()
|
||||
|
|
Loading…
Add table
Reference in a new issue