summaryrefslogtreecommitdiff
path: root/test/src/thread-tests.el
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2021-04-04 13:06:33 +0200
committerStefan Kangas <stefan@marxist.se>2021-04-04 13:06:33 +0200
commit4865ded5516a6e6705136c5b87466f864925ff96 (patch)
tree1694e3eadb6519543d9b26106477d96e5e14e311 /test/src/thread-tests.el
parent841b11ed0d534d707f54160f8c7efe3b883eb3ed (diff)
downloademacs-4865ded5516a6e6705136c5b87466f864925ff96.tar.gz
emacs-4865ded5516a6e6705136c5b87466f864925ff96.tar.bz2
emacs-4865ded5516a6e6705136c5b87466f864925ff96.zip
Remove redundant #' before lambda in tests
* test/lisp/electric-tests.el (save-electric-modes) (inhibit-in-mismatched-string-inside-ruby-comments) (inhibit-in-mismatched-string-inside-c-comments, js-mode-braces) (js-mode-braces-with-layout) (js-mode-braces-with-layout-and-indent, autowrapping-1) (autowrapping-2, autowrapping-3, autowrapping-4, autowrapping-5) (autowrapping-6, autowrapping-7): * test/lisp/progmodes/xref-tests.el (xref--xref-file-name-display-is-relative-to-project-root): * test/src/thread-tests.el (threads-signal-early) (threads-signal-main-thread): Remove redundant #' before lambda.
Diffstat (limited to 'test/src/thread-tests.el')
-rw-r--r--test/src/thread-tests.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/src/thread-tests.el b/test/src/thread-tests.el
index f14d2426ef0..0e1ca76fd9c 100644
--- a/test/src/thread-tests.el
+++ b/test/src/thread-tests.el
@@ -315,8 +315,8 @@
"Test signaling a thread as soon as it is started by the OS."
(skip-unless (featurep 'threads))
(let ((thread
- (make-thread #'(lambda ()
- (while t (thread-yield))))))
+ (make-thread (lambda ()
+ (while t (thread-yield))))))
(thread-signal thread 'error nil)
(sit-for 1)
(should-not (thread-live-p thread))
@@ -331,7 +331,7 @@
(let (buffer-read-only)
(erase-buffer))
(let ((thread
- (make-thread #'(lambda () (thread-signal main-thread 'error nil)))))
+ (make-thread (lambda () (thread-signal main-thread 'error nil)))))
(while (thread-live-p thread)
(thread-yield))
(read-event nil nil 0.1)