From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id SISCEH7JH2OC1wAAbAwnHQ (envelope-from ) for ; Tue, 13 Sep 2022 02:06:22 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 6KSaD37JH2MgQAAAG6o9tA (envelope-from ) for ; Tue, 13 Sep 2022 02:06:22 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 2071F23A45 for ; Tue, 13 Sep 2022 02:06:21 +0200 (CEST) Received: from localhost ([::1]:48500 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oXtRT-00053x-3t for larch@yhetil.org; Mon, 12 Sep 2022 20:06:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45702) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oXtQp-00053V-Om for emacs-orgmode@gnu.org; Mon, 12 Sep 2022 20:05:39 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:15777) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oXtQj-0005o6-IJ for emacs-orgmode@gnu.org; Mon, 12 Sep 2022 20:05:37 -0400 Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id A13554428BF; Mon, 12 Sep 2022 20:05:28 -0400 (EDT) Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 85B544428AE; Mon, 12 Sep 2022 20:05:24 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1663027524; bh=9ycZIAYRt3K5Tw8p8oiXzbVFy1M2iXokF7uou9FyoPk=; h=From:To:Subject:Date:From; b=FAA26R0ZgxITC0+uLmLwrZlzotTdUCQMackUizOe/3BBw1AypHO3x2tXsmvgxZsqB KZahU08VrxoYV8yBWfBePtE8Y2ea4yXIwP/cztZVI43vDkRgP2BXESy78RwQkkZRXe gA0mzdI/45OXRSVT59gQH5N3/OPwtXCY28eG6d4bPCjzK24nsACFE/Zq4YhIwZMwfH X5UMi5t815ShMY9qUiiM55FKLoDNkWRRKHX+k/cSLWRdwgf2F7HloH9JqtbLStabsG ABrB51XToe2oH8wwDni6QdsVfO7DIdxSV5GTndi5ywEdyq1Jo6l14Ki1DuVePHu/Qu 0dAUCla1nXBRA== Received: from pastel (unknown [157.52.9.190]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 41B311208E8; Mon, 12 Sep 2022 20:05:24 -0400 (EDT) From: Stefan Monnier To: emacs-orgmode@gnu.org Subject: Use lexical-scoping in tests Message-ID: Date: Mon, 12 Sep 2022 20:05:23 -0400 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1663027581; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=S68aRyeW1/t9EMgAitr5fDUB+EkP5N51XH+SnVwie38=; b=H0ge4HMVbDQJKyAIks2GCnXUYdswXI2SBKmOF7IXJch/wnG6oO+C3BKnu+VZnQbiY57cjT Ug6jCzp8qgiEAb6SJTNyhXRqoDh3YcsQLyFRwlxsU7o/qNVLajP3OKduchZZbqH78mgbg1 BsO08gb46oqnscSexOkakf2R0HIOQJxXMlvkKOukUGXhHWEUwAbzquFgJNIJ86enTbAmeH ZnFVgcpn80wBr9CA8kdyHOnvIr8fTbz1KKfJv1pe6h0cCNsUt5CoOO4N8ZqqskIXOXUUDs fTFuaheXubTBgW3FmVr6Gl7rJyupYeHBUwYIRA2mSNQrNw5dkNOFffwOlhb0Uw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1663027582; a=rsa-sha256; cv=none; b=WtuwmrmVwDYvC+qiZxo78tyl0WiD+FHNWQvvl0P/VnOWjNIGO75HDYbZmuHVOHkoTmc3dV NfHztTsoTiMuXqI/0Kvctc+nEbV45OB+8b0/QKbx+xHPxDYXY6TGeeItwj/WH37kJtNh9/ cGVTQHU0geopKiEydcRnQvDYRGUUlHctbZqEq8I67g01Kn0kSYH/t0V6r1+vbRwRozGPT/ wbplqrg4K5UWLnteViF8FCkdTP8h3dhH9TUJA5EtLZq9jJ3Cqhi1UttMu+n1C5aggnyDta x6rMMznbOfVKzNwwfrO55vpnxeLFv/MkXZW8BpADrEF/UY/INRUB7r0+kvcKdw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=iro.umontreal.ca header.s=mail header.b=FAA26R0Z; dmarc=pass (policy=quarantine) header.from=iro.umontreal.ca; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.51 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=iro.umontreal.ca header.s=mail header.b=FAA26R0Z; dmarc=pass (policy=quarantine) header.from=iro.umontreal.ca; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 2071F23A45 X-Spam-Score: -2.51 X-Migadu-Scanner: scn1.migadu.com X-TUID: 3v8WuADVMcmO --=-=-= Content-Type: text/plain The patch below simply enables `lexical-binding` in all the test files. As far as I can tell, it's all that's needed (beside a missing `require`). Stefan --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=org.patch diff --git a/testing/examples/babel.el b/testing/examples/babel.el index a7bb0ccf52..cbd522e243 100644 --- a/testing/examples/babel.el +++ b/testing/examples/babel.el @@ -1,3 +1,4 @@ +;; -*- lexical-binding: t; -*- (string-match-p "^#[[:digit:]]+$" "#123") ;; [[id:73115FB0-6565-442B-BB95-50195A499EF4][detangle:1]] diff --git a/testing/lisp/test-ob-C.el b/testing/lisp/test-ob-C.el index 5f1dd1acb7..793ca31684 100644 --- a/testing/lisp/test-ob-C.el +++ b/testing/lisp/test-ob-C.el @@ -1,4 +1,4 @@ -;;; test-ob-C.el --- tests for ob-C.el +;;; test-ob-C.el --- tests for ob-C.el -*- lexical-binding: t; -*- ;; Copyright (c) 2010-2014, 2019 Sergey Litvinov, Thierry Banel ;; Authors: Sergey Litvinov, Thierry Banel diff --git a/testing/lisp/test-ob-R.el b/testing/lisp/test-ob-R.el index 1e60ae903f..98d73dea91 100644 --- a/testing/lisp/test-ob-R.el +++ b/testing/lisp/test-ob-R.el @@ -1,4 +1,4 @@ -;;; test-ob-R.el --- tests for ob-R.el +;;; test-ob-R.el --- tests for ob-R.el -*- lexical-binding: t; -*- ;; Copyright (c) 2011-2014, 2019 Eric Schulte ;; Authors: Eric Schulte diff --git a/testing/lisp/test-ob-awk.el b/testing/lisp/test-ob-awk.el index 21151b21fc..874d2c0268 100644 --- a/testing/lisp/test-ob-awk.el +++ b/testing/lisp/test-ob-awk.el @@ -1,4 +1,4 @@ -;;; test-ob-awk.el --- tests for ob-awk.el +;;; test-ob-awk.el --- tests for ob-awk.el -*- lexical-binding: t; -*- ;; Copyright (c) 2010-2014, 2019 Sergey Litvinov ;; Authors: Sergey Litvinov diff --git a/testing/lisp/test-ob-clojure.el b/testing/lisp/test-ob-clojure.el index 609fc0ea85..3a21498b4a 100644 --- a/testing/lisp/test-ob-clojure.el +++ b/testing/lisp/test-ob-clojure.el @@ -1,4 +1,4 @@ -;;; test-ob-clojure.el +;;; test-ob-clojure.el -*- lexical-binding: t; -*- ;; Copyright (c) 2018-2022 Free Software Foundation, Inc. ;; Authors: stardiviner diff --git a/testing/lisp/test-ob-emacs-lisp.el b/testing/lisp/test-ob-emacs-lisp.el index e7b85d5ba5..c7bf17784b 100644 --- a/testing/lisp/test-ob-emacs-lisp.el +++ b/testing/lisp/test-ob-emacs-lisp.el @@ -1,4 +1,4 @@ -;;; test-ob-emacs-lisp.el +;;; test-ob-emacs-lisp.el -*- lexical-binding: t; -*- ;; Copyright (c) 2012-2022 Free Software Foundation, Inc. ;; Authors: Eric Schulte, Martyn Jago diff --git a/testing/lisp/test-ob-eshell.el b/testing/lisp/test-ob-eshell.el index d74742690b..4430a21c7a 100644 --- a/testing/lisp/test-ob-eshell.el +++ b/testing/lisp/test-ob-eshell.el @@ -1,4 +1,4 @@ -;;; test-ob-eshell.el +;;; test-ob-eshell.el -*- lexical-binding: t; -*- ;; Copyright (c) 2018 stardiviner ;; Authors: stardiviner diff --git a/testing/lisp/test-ob-exp.el b/testing/lisp/test-ob-exp.el index 1289745aea..b85db33401 100644 --- a/testing/lisp/test-ob-exp.el +++ b/testing/lisp/test-ob-exp.el @@ -1,4 +1,4 @@ -;;; test-ob-exp.el +;;; test-ob-exp.el -*- lexical-binding: t; -*- ;; Copyright (c) 2010-2015, 2019 Eric Schulte ;; Authors: Eric Schulte diff --git a/testing/lisp/test-ob-fortran.el b/testing/lisp/test-ob-fortran.el index 79a35d58e8..3f821e4dac 100644 --- a/testing/lisp/test-ob-fortran.el +++ b/testing/lisp/test-ob-fortran.el @@ -1,4 +1,4 @@ -;;; test-ob-fortran.el --- tests for ob-fortran.el +;;; test-ob-fortran.el --- tests for ob-fortran.el -*- lexical-binding: t; -*- ;; Copyright (c) 2010-2014, 2019 Sergey Litvinov ;; Authors: Sergey Litvinov diff --git a/testing/lisp/test-ob-header-arg-defaults.el b/testing/lisp/test-ob-header-arg-defaults.el index 1106892d55..beb3ea5b8a 100644 --- a/testing/lisp/test-ob-header-arg-defaults.el +++ b/testing/lisp/test-ob-header-arg-defaults.el @@ -1,4 +1,4 @@ -;;; test-ob-header-arg-defaults.el --- tests for default header args from properties +;;; test-ob-header-arg-defaults.el --- tests for default header args from properties -*- lexical-binding: t; -*- ;; Copyright (c) 2013, 2014, 2019 Achim Gratz ;; Authors: Achim Gratz diff --git a/testing/lisp/test-ob-java.el b/testing/lisp/test-ob-java.el index 56ced23740..1a79fc66a1 100644 --- a/testing/lisp/test-ob-java.el +++ b/testing/lisp/test-ob-java.el @@ -1,4 +1,4 @@ -;;; test-ob-java.el --- tests for ob-java.el +;;; test-ob-java.el --- tests for ob-java.el -*- lexical-binding: t; -*- ;; Copyright (c) 2020-2022 Free Software Foundation, Inc. ;; Authors: Eric Schulte diff --git a/testing/lisp/test-ob-julia.el b/testing/lisp/test-ob-julia.el index f6d21726aa..b25235f5fa 100644 --- a/testing/lisp/test-ob-julia.el +++ b/testing/lisp/test-ob-julia.el @@ -1,4 +1,4 @@ -;;; test-ob-python.el --- tests for ob-python.el +;;; test-ob-python.el --- tests for ob-python.el -*- lexical-binding: t; -*- ;; Copyright (c) 2011-2014, 2019, 2021 Eric Schulte ;; Authors: Pedro Bruel, based on test-ob-python.el by Eric Schulte diff --git a/testing/lisp/test-ob-lilypond.el b/testing/lisp/test-ob-lilypond.el index 1c1d73309e..2c764a05b6 100644 --- a/testing/lisp/test-ob-lilypond.el +++ b/testing/lisp/test-ob-lilypond.el @@ -1,4 +1,4 @@ -;;; test-ob-lilypond.el --- tests for ob-lilypond.el +;;; test-ob-lilypond.el --- tests for ob-lilypond.el -*- lexical-binding: t; -*- ;; Copyright (c) 2010-2014, 2019 Martyn Jago ;; Authors: Martyn Jago diff --git a/testing/lisp/test-ob-lob.el b/testing/lisp/test-ob-lob.el index c661d5a3eb..0e69bef15f 100644 --- a/testing/lisp/test-ob-lob.el +++ b/testing/lisp/test-ob-lob.el @@ -1,4 +1,4 @@ -;;; test-ob-lob.el --- test for ob-lob.el +;;; test-ob-lob.el --- test for ob-lob.el -*- lexical-binding: t; -*- ;; Copyright (c) 2010-2015, 2019 Eric Schulte ;; Authors: Eric Schulte diff --git a/testing/lisp/test-ob-lua.el b/testing/lisp/test-ob-lua.el index 7d82dd923c..f30e65bb39 100644 --- a/testing/lisp/test-ob-lua.el +++ b/testing/lisp/test-ob-lua.el @@ -1,4 +1,4 @@ -;;; test-ob-lua.el --- tests for ob-lua.el +;;; test-ob-lua.el --- tests for ob-lua.el -*- lexical-binding: t; -*- ;; Copyright (c) 2016, 2019 Thibault Marin ;; Authors: Thibault Marin diff --git a/testing/lisp/test-ob-maxima.el b/testing/lisp/test-ob-maxima.el index 08f7dc04d8..e2433d232a 100644 --- a/testing/lisp/test-ob-maxima.el +++ b/testing/lisp/test-ob-maxima.el @@ -1,4 +1,4 @@ -;;; test-ob-maxima.el --- tests for ob-maxima.el +;;; test-ob-maxima.el --- tests for ob-maxima.el -*- lexical-binding: t; -*- ;; Copyright (c) 2010-2014, 2019 Sergey Litvinov ;; Authors: Sergey Litvinov diff --git a/testing/lisp/test-ob-octave.el b/testing/lisp/test-ob-octave.el index 6113b40f31..78ce102144 100644 --- a/testing/lisp/test-ob-octave.el +++ b/testing/lisp/test-ob-octave.el @@ -1,4 +1,4 @@ -;;; test-ob-octave.el --- tests for ob-octave.el +;;; test-ob-octave.el --- tests for ob-octave.el -*- lexical-binding: t; -*- ;; Copyright (c) 2010-2014, 2019 Sergey Litvinov ;; Authors: Sergey Litvinov diff --git a/testing/lisp/test-ob-perl.el b/testing/lisp/test-ob-perl.el index 38521dbbad..5826e8cca2 100644 --- a/testing/lisp/test-ob-perl.el +++ b/testing/lisp/test-ob-perl.el @@ -1,4 +1,4 @@ -;;; test-ob-perl.el --- tests for ob-perl.el +;;; test-ob-perl.el --- tests for ob-perl.el -*- lexical-binding: t; -*- ;; Copyright (c) 2013, 2014, 2019 Achim Gratz ;; Authors: Achim Gratz diff --git a/testing/lisp/test-ob-plantuml.el b/testing/lisp/test-ob-plantuml.el index bdbd1a74bb..6b0aab9617 100644 --- a/testing/lisp/test-ob-plantuml.el +++ b/testing/lisp/test-ob-plantuml.el @@ -1,4 +1,4 @@ -;;; test-ob-plantuml.el --- tests for ob-plantuml.el +;;; test-ob-plantuml.el --- tests for ob-plantuml.el -*- lexical-binding: t; -*- ;; Copyright (c) 2016, 2019 Thibault Marin ;; Authors: Thibault Marin diff --git a/testing/lisp/test-ob-python.el b/testing/lisp/test-ob-python.el index 2032b7e8db..e4442bf9b0 100644 --- a/testing/lisp/test-ob-python.el +++ b/testing/lisp/test-ob-python.el @@ -1,4 +1,4 @@ -;;; test-ob-python.el --- tests for ob-python.el +;;; test-ob-python.el --- tests for ob-python.el -*- lexical-binding: t; -*- ;; Copyright (c) 2011-2014, 2019 Eric Schulte ;; Authors: Eric Schulte diff --git a/testing/lisp/test-ob-ruby.el b/testing/lisp/test-ob-ruby.el index 9f224a7653..5e2438c6d4 100644 --- a/testing/lisp/test-ob-ruby.el +++ b/testing/lisp/test-ob-ruby.el @@ -1,4 +1,4 @@ -;;; test-ob-ruby.el --- tests for ob-ruby.el +;;; test-ob-ruby.el --- tests for ob-ruby.el -*- lexical-binding: t; -*- ;; Copyright (c) 2013-2015, 2019 Oleh Krehel ;; Authors: Oleh Krehel diff --git a/testing/lisp/test-ob-sed.el b/testing/lisp/test-ob-sed.el index 0c0515ecd4..a91aa54cce 100644 --- a/testing/lisp/test-ob-sed.el +++ b/testing/lisp/test-ob-sed.el @@ -1,4 +1,4 @@ -;;; test-ob-sed.el --- tests for ob-sed.el +;;; test-ob-sed.el --- tests for ob-sed.el -*- lexical-binding: t; -*- ;; Copyright (c) 2015, 2019 Bjarte Johansen ;; Authors: Bjarte Johansen diff --git a/testing/lisp/test-ob-shell.el b/testing/lisp/test-ob-shell.el index 6f673740bf..7c18e39cee 100644 --- a/testing/lisp/test-ob-shell.el +++ b/testing/lisp/test-ob-shell.el @@ -1,4 +1,4 @@ -;;; test-ob-shell.el +;;; test-ob-shell.el -*- lexical-binding: t; -*- ;; Copyright (c) 2010-2014, 2019 Eric Schulte ;; Authors: Eric Schulte diff --git a/testing/lisp/test-ob-sql.el b/testing/lisp/test-ob-sql.el index aacdaa7a30..6590711214 100644 --- a/testing/lisp/test-ob-sql.el +++ b/testing/lisp/test-ob-sql.el @@ -1,4 +1,4 @@ -;;; test-ob-sql.el --- tests for ob-sql.el +;;; test-ob-sql.el --- tests for ob-sql.el -*- lexical-binding: t; -*- ;; Copyright (C) 2021 Robin Joy diff --git a/testing/lisp/test-ob-sqlite.el b/testing/lisp/test-ob-sqlite.el index c2dc480c2e..5c418e304f 100644 --- a/testing/lisp/test-ob-sqlite.el +++ b/testing/lisp/test-ob-sqlite.el @@ -1,4 +1,4 @@ -;;; test-ob-sqlite.el --- tests for ob-sqlite.el +;;; test-ob-sqlite.el --- tests for ob-sqlite.el -*- lexical-binding: t; -*- ;; Copyright (C) 2017, 2019 Eduardo Bellani diff --git a/testing/lisp/test-ob-table.el b/testing/lisp/test-ob-table.el index 3f450c2d7f..e83014f2e1 100644 --- a/testing/lisp/test-ob-table.el +++ b/testing/lisp/test-ob-table.el @@ -1,4 +1,4 @@ -;;; test-ob-table.el +;;; test-ob-table.el -*- lexical-binding: t; -*- ;; Copyright (c) 2011-2014, 2019 Eric Schulte ;; Authors: Eric Schulte diff --git a/testing/lisp/test-ob-tangle.el b/testing/lisp/test-ob-tangle.el index 618e118e08..555c861e51 100644 --- a/testing/lisp/test-ob-tangle.el +++ b/testing/lisp/test-ob-tangle.el @@ -1,4 +1,4 @@ -;;; test-ob-tangle.el --- tests for ob-tangle.el +;;; test-ob-tangle.el --- tests for ob-tangle.el -*- lexical-binding: t; -*- ;; Copyright (c) 2010-2016, 2019 Eric Schulte ;; Authors: Eric Schulte diff --git a/testing/lisp/test-ob.el b/testing/lisp/test-ob.el index c944ccd392..c3a0f21bce 100644 --- a/testing/lisp/test-ob.el +++ b/testing/lisp/test-ob.el @@ -1,4 +1,4 @@ -;;; test-ob.el --- tests for ob.el +;;; test-ob.el --- tests for ob.el -*- lexical-binding: t; -*- ;; Copyright (c) 2010-2015, 2019 Eric Schulte ;; Authors: Eric Schulte, Martyn Jago diff --git a/testing/lisp/test-org-attach-git.el b/testing/lisp/test-org-attach-git.el index 7fa3a43169..cc2a1dc627 100644 --- a/testing/lisp/test-org-attach-git.el +++ b/testing/lisp/test-org-attach-git.el @@ -1,4 +1,4 @@ -;;; test-org-attach-git.el --- Tests for Org Attach with git-annex +;;; test-org-attach-git.el --- Tests for Org Attach with git-annex -*- lexical-binding: t; -*- ;; ;; Copyright (c) 2016, 2019 Erik Hetzner ;; Authors: Erik Hetzner diff --git a/testing/lisp/test-org-clock.el b/testing/lisp/test-org-clock.el index c9768eb6b5..04022905c3 100644 --- a/testing/lisp/test-org-clock.el +++ b/testing/lisp/test-org-clock.el @@ -1,4 +1,4 @@ -;;; test-org-clock.el --- Tests for org-clock.el +;;; test-org-clock.el --- Tests for org-clock.el -*- lexical-binding: t; -*- ;; Copyright (C) 2012, 2014, 2015, 2019 Nicolas Goaziou diff --git a/testing/lisp/test-org-element.el b/testing/lisp/test-org-element.el index 89eb2a3607..bf5e0ffd6e 100644 --- a/testing/lisp/test-org-element.el +++ b/testing/lisp/test-org-element.el @@ -1,4 +1,4 @@ -;;; test-org-element.el --- Tests for org-element.el +;;; test-org-element.el --- Tests for org-element.el -*- lexical-binding: t; -*- ;; Copyright (C) 2012-2015, 2019 Nicolas Goaziou diff --git a/testing/lisp/test-org-fold.el b/testing/lisp/test-org-fold.el index a26346175c..0fa800deef 100644 --- a/testing/lisp/test-org-fold.el +++ b/testing/lisp/test-org-fold.el @@ -1,4 +1,4 @@ -;;; test-org.el --- tests for org.el +;;; test-org.el --- tests for org.el -*- lexical-binding: t; -*- ;; Authors: Ihor Radchenko diff --git a/testing/lisp/test-org-footnote.el b/testing/lisp/test-org-footnote.el index 8751dc842b..94c8bc7b20 100644 --- a/testing/lisp/test-org-footnote.el +++ b/testing/lisp/test-org-footnote.el @@ -1,4 +1,4 @@ -;;; test-org-footnote.el --- Tests for org-footnote.el +;;; test-org-footnote.el --- Tests for org-footnote.el -*- lexical-binding: t; -*- ;; Copyright (C) 2012-2015, 2019 Nicolas Goaziou diff --git a/testing/lisp/test-org-inlinetask.el b/testing/lisp/test-org-inlinetask.el index db46376790..e31a148a53 100644 --- a/testing/lisp/test-org-inlinetask.el +++ b/testing/lisp/test-org-inlinetask.el @@ -1,4 +1,4 @@ -;;; test-org-inlinetask.el --- Tests for org-inlinetask.el +;;; test-org-inlinetask.el --- Tests for org-inlinetask.el -*- lexical-binding: t; -*- ;; Copyright (c) Marco Wahl ;; Authors: Marco Wahl diff --git a/testing/lisp/test-org-list.el b/testing/lisp/test-org-list.el index ab6bc54523..c253b00a89 100644 --- a/testing/lisp/test-org-list.el +++ b/testing/lisp/test-org-list.el @@ -1,4 +1,4 @@ -;;; test-org-list.el --- Tests for org-list.el +;;; test-org-list.el --- Tests for org-list.el -*- lexical-binding: t; -*- ;; Copyright (C) 2012, 2013, 2014, 2018, 2019 Nicolas Goaziou diff --git a/testing/lisp/test-org-macro.el b/testing/lisp/test-org-macro.el index f1bc4f4503..3339945fa1 100644 --- a/testing/lisp/test-org-macro.el +++ b/testing/lisp/test-org-macro.el @@ -1,4 +1,4 @@ -;;; test-org-macro.el --- Tests for org-macro.el +;;; test-org-macro.el --- Tests for org-macro.el -*- lexical-binding: t; -*- ;; Copyright (C) 2013, 2014, 2019 Nicolas Goaziou diff --git a/testing/lisp/test-org-pcomplete.el b/testing/lisp/test-org-pcomplete.el index 34969f284d..a9f46dd2f8 100644 --- a/testing/lisp/test-org-pcomplete.el +++ b/testing/lisp/test-org-pcomplete.el @@ -1,4 +1,4 @@ -;;; test-org-pcomplete.el --- test pcomplete integration +;;; test-org-pcomplete.el --- test pcomplete integration -*- lexical-binding: t; -*- ;; Copyright (C) 2015-2016, 2019 Alexey Lebedeff ;; Authors: Alexey Lebedeff diff --git a/testing/lisp/test-org-src.el b/testing/lisp/test-org-src.el index 16283b5977..2a45ba66e5 100644 --- a/testing/lisp/test-org-src.el +++ b/testing/lisp/test-org-src.el @@ -1,4 +1,4 @@ -;;; test-org-src.el --- tests for org-src.el +;;; test-org-src.el --- tests for org-src.el -*- lexical-binding: t; -*- ;; Copyright (C) 2012-2015, 2019 Le Wang diff --git a/testing/lisp/test-org-table.el b/testing/lisp/test-org-table.el index 310844c94c..f3fb4d98db 100644 --- a/testing/lisp/test-org-table.el +++ b/testing/lisp/test-org-table.el @@ -1,4 +1,4 @@ -;;; test-org-table.el --- tests for org-table.el +;;; test-org-table.el --- tests for org-table.el -*- lexical-binding: t; -*- ;; Copyright (c) David Maus ;; Authors: David Maus, Michael Brand diff --git a/testing/lisp/test-org-timer.el b/testing/lisp/test-org-timer.el index 5d938f22ec..930e548a63 100644 --- a/testing/lisp/test-org-timer.el +++ b/testing/lisp/test-org-timer.el @@ -1,4 +1,4 @@ -;;; test-org-timer.el --- Tests for org-timer.el +;;; test-org-timer.el --- Tests for org-timer.el -*- lexical-binding: t; -*- ;; Copyright (C) 2014-2015, 2019 Kyle Meyer diff --git a/testing/lisp/test-org.el b/testing/lisp/test-org.el index 004e89732d..5ab97e1a7e 100644 --- a/testing/lisp/test-org.el +++ b/testing/lisp/test-org.el @@ -1,4 +1,4 @@ -;;; test-org.el --- tests for org.el +;;; test-org.el --- tests for org.el -*- lexical-binding: t -*- ;; Copyright (c) David Maus ;; Authors: David Maus @@ -23,6 +23,7 @@ ;;; Code: (eval-and-compile (require 'cl-lib)) +(eval-when-compile (require 'org-macs)) ;For `org-with-gensyms'. ;;; Helpers diff --git a/testing/lisp/test-property-inheritance.el b/testing/lisp/test-property-inheritance.el index d3c3b0c642..ede25b4901 100644 --- a/testing/lisp/test-property-inheritance.el +++ b/testing/lisp/test-property-inheritance.el @@ -1,4 +1,4 @@ -;;; test-property-inheritance.el --- tests for property-inheritance.el +;;; test-property-inheritance.el --- tests for property-inheritance.el -*- lexical-binding: t; -*- ;; Copyright (c) 2011-2014, 2019 Eric Schulte ;; Authors: Eric Schulte diff --git a/testing/org-batch-test-init.el b/testing/org-batch-test-init.el index 87216cffda..4c8cf4e385 100644 --- a/testing/org-batch-test-init.el +++ b/testing/org-batch-test-init.el @@ -1,4 +1,4 @@ -;; +;; -*- lexical-binding: t; -*- ;; Remove Org remnants built into Emacs ;; diff --git a/testing/org-test.el b/testing/org-test.el index 54b21a6598..8f500c5104 100644 --- a/testing/org-test.el +++ b/testing/org-test.el @@ -1,4 +1,4 @@ -;;;; org-test.el --- Tests for Org +;;;; org-test.el --- Tests for Org -*- lexical-binding: t; -*- ;; Copyright (c) 2010-2015 Sebastian Rose, Eric Schulte ;; Authors: --=-=-=--