diff options
author | 2023-08-24 23:33:11 +0200 | |
---|---|---|
committer | 2023-08-24 23:33:11 +0200 | |
commit | 50def270c993735fd0a3e5adac618e10f0140fcc (patch) | |
tree | df4b25225e656c9b2a67e24286fadee485505e5a | |
parent | No longer set NOCOLOR (diff) | |
download | ebuild-mode-50def270c993735fd0a3e5adac618e10f0140fcc.tar.gz ebuild-mode-50def270c993735fd0a3e5adac618e10f0140fcc.tar.bz2 ebuild-mode-50def270c993735fd0a3e5adac618e10f0140fcc.zip |
Enable lexical binding
* ebuild-mode.el:
* ebuild-mode-keywords.el:
* gentoo-newsitem-mode.el:
* glep-mode.el:
* devbook-mode.el: Enable lexical binding.
* ebuild-mode.el (ebuild-run-command, ebuild-mode-run-pkgdev)
(ebuild-mode-run-pkgcheck): Add underscore to name of unused
function argument.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
-rw-r--r-- | ChangeLog | 9 | ||||
-rw-r--r-- | devbook-mode.el | 2 | ||||
-rw-r--r-- | ebuild-mode-keywords.el | 2 | ||||
-rw-r--r-- | ebuild-mode.el | 8 | ||||
-rw-r--r-- | gentoo-newsitem-mode.el | 2 | ||||
-rw-r--r-- | glep-mode.el | 2 |
6 files changed, 17 insertions, 8 deletions
@@ -1,5 +1,14 @@ 2023-08-24 Ulrich Müller <ulm@gentoo.org> + * ebuild-mode.el: + * ebuild-mode-keywords.el: + * gentoo-newsitem-mode.el: + * glep-mode.el: + * devbook-mode.el: Enable lexical binding. + * ebuild-mode.el (ebuild-run-command, ebuild-mode-run-pkgdev) + (ebuild-mode-run-pkgcheck): Add underscore to name of unused + function argument. + * ebuild-mode.el (ebuild-mode-process-environment): No longer set NOCOLOR, because NO_COLOR is supported by stable Portage. diff --git a/devbook-mode.el b/devbook-mode.el index 3fd47f5..344587d 100644 --- a/devbook-mode.el +++ b/devbook-mode.el @@ -1,4 +1,4 @@ -;;; devbook-mode.el --- edit the Gentoo Devmanual +;;; devbook-mode.el --- edit the Gentoo Devmanual -*-lexical-binding:t-*- ;; Copyright 2020-2023 Gentoo Authors diff --git a/ebuild-mode-keywords.el b/ebuild-mode-keywords.el index 2b82057..c3cf9fe 100644 --- a/ebuild-mode-keywords.el +++ b/ebuild-mode-keywords.el @@ -1,4 +1,4 @@ -;;; ebuild-mode-keywords.el +;;; ebuild-mode-keywords.el -*-lexical-binding:t-*- ;; Copyright 2006-2023 Gentoo Authors diff --git a/ebuild-mode.el b/ebuild-mode.el index e031493..546ca61 100644 --- a/ebuild-mode.el +++ b/ebuild-mode.el @@ -1,4 +1,4 @@ -;;; ebuild-mode.el --- edit Gentoo ebuild and eclass files +;;; ebuild-mode.el --- edit ebuild and eclass files -*-lexical-binding:t-*- ;; Copyright 2006-2023 Gentoo Authors @@ -447,7 +447,7 @@ If nil, `compilation-mode' will be used.") (process-environment (append ebuild-mode-process-environment process-environment)) ;;(compilation-mode-hook (lambda () (setq truncate-lines t))) - (compilation-buffer-name-function (lambda (mode) "*ebuild*"))) + (compilation-buffer-name-function (lambda (_mode) "*ebuild*"))) (if (featurep 'xemacs) (compile shell-command) (compile shell-command ebuild-log-buffer-mode)))) @@ -526,7 +526,7 @@ Like `compile', but with autocompletion for pkgdev." 'ebuild-mode-pkgdev-history))) (let ((process-environment (append ebuild-mode-process-environment process-environment)) - (compilation-buffer-name-function (lambda (mode) "*pkgdev*"))) + (compilation-buffer-name-function (lambda (_mode) "*pkgdev*"))) (if (featurep 'xemacs) (compile command) (compile command ebuild-log-buffer-mode)))) @@ -541,7 +541,7 @@ Like `compile', but with autocompletion for pkgcheck." 'ebuild-mode-pkgcheck-history))) (let ((process-environment (append ebuild-mode-process-environment process-environment)) - (compilation-buffer-name-function (lambda (mode) "*pkgcheck*"))) + (compilation-buffer-name-function (lambda (_mode) "*pkgcheck*"))) (if (featurep 'xemacs) (compile command) (compile command ebuild-log-buffer-mode)))) diff --git a/gentoo-newsitem-mode.el b/gentoo-newsitem-mode.el index d484874..8947510 100644 --- a/gentoo-newsitem-mode.el +++ b/gentoo-newsitem-mode.el @@ -1,4 +1,4 @@ -;;; gentoo-newsitem-mode.el --- edit Gentoo GLEP 42 news items +;;; gentoo-newsitem-mode.el --- edit Gentoo news items -*-lexical-binding:t-*- ;; Copyright 2009-2023 Gentoo Authors diff --git a/glep-mode.el b/glep-mode.el index 09861c9..c2817a0 100644 --- a/glep-mode.el +++ b/glep-mode.el @@ -1,4 +1,4 @@ -;;; glep-mode.el --- edit Gentoo Linux Enhancement Proposals +;;; glep-mode.el --- edit Gentoo GLEPs -*-lexical-binding:t-*- ;; Copyright 2017-2023 Gentoo Authors |