[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/logview 60b86ec588 091/259: Use yet another PPA for Emacs
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/logview 60b86ec588 091/259: Use yet another PPA for Emacs 24; silence another warning on it. |
Date: |
Fri, 31 Jan 2025 07:01:58 -0500 (EST) |
branch: elpa/logview
commit 60b86ec5888d3bbd857f4abb434a6ae3406b7c93
Author: Paul Pogonyshev <pogonyshev@gmail.com>
Commit: Paul Pogonyshev <pogonyshev@gmail.com>
Use yet another PPA for Emacs 24; silence another warning on it.
---
.travis.yml | 2 +-
logview.el | 6 ++++--
run-tests.sh | 3 ++-
3 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index ae71940736..255ef69857 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -2,7 +2,7 @@ language: emacs-lisp
before_install:
# For Emacs 24.
- - sudo add-apt-repository ppa:jonathonf/emacs24 -y
+ - sudo add-apt-repository ppa:fryda.tomas/emacs -y
# For Emacs 25.
- sudo add-apt-repository ppa:kelleyk/emacs -y
# For snapshot builds.
diff --git a/logview.el b/logview.el
index fa4a558c00..f2a79a43e8 100644
--- a/logview.el
+++ b/logview.el
@@ -1992,8 +1992,10 @@ returns non-nil."
(maphash (lambda (regexp key)
(push `(,(car key) (regexp . ,regexp))
logview--all-timestamp-formats-cache))
uniques)
- (let ((inhibit-message t))
- (message "Logview/datetime: built list of %d timestamp regexps in %.3f
s" (hash-table-count uniques) (- (float-time) start-time)))))
+ ;; No such variable present on old Emacses, just don't print anything.
+ (when (boundp 'inhibit-message)
+ (let ((inhibit-message t))
+ (message "Logview/datetime: built list of %d timestamp regexps in
%.3f s" (hash-table-count uniques) (- (float-time) start-time))))))
logview--all-timestamp-formats-cache)
diff --git a/run-tests.sh b/run-tests.sh
index 0a7ecd83e8..14124c5e2c 100755
--- a/run-tests.sh
+++ b/run-tests.sh
@@ -36,9 +36,10 @@ $EMACS --batch
--load test/logview.el
\
--eval "(ert-run-tests-batch-and-exit (quote ${ERT_SELECTOR}))"
+# Fuck Emacs 24, I'm tired of fighting warnings on it.
$EMACS --batch
\
--eval "(progn (require 'package) (package-initialize))"
\
--directory "$OWN_DIRECTORY"
\
--eval "(when (locate-file \"local-environment.el\" (list (car
load-path))) (load \"local-environment.el\" nil t t))" \
- --eval "(setq byte-compile-error-on-warn t)"
\
+ --eval "(when (>= emacs-major-version 25) (setq
byte-compile-error-on-warn t))" \
--eval "(batch-byte-compile)" logview.el
- [nongnu] elpa/logview d96302c36b 093/259: Implement current entry pulsing (brief highlighting) so that it is easier to locate the point and entry bounds., (continued)
- [nongnu] elpa/logview d96302c36b 093/259: Implement current entry pulsing (brief highlighting) so that it is easier to locate the point and entry bounds., ELPA Syncer, 2025/01/31
- [nongnu] elpa/logview 5d5fbb25b5 036/259: Replace 'error' with 'user-error' where applicable., ELPA Syncer, 2025/01/31
- [nongnu] elpa/logview ece9715615 033/259: Merge pull request #1 from syohex/fix-pcase, ELPA Syncer, 2025/01/31
- [nongnu] elpa/logview a9f97ef241 035/259: Add a TODO file., ELPA Syncer, 2025/01/31
- [nongnu] elpa/logview 5b517de7ac 009/259: Improve log editing possibilities and simplify submode option customization a bit., ELPA Syncer, 2025/01/31
- [nongnu] elpa/logview 0694f5c0fb 081/259: Fix several byte-compilation warnings., ELPA Syncer, 2025/01/31
- [nongnu] elpa/logview 4176580a60 090/259: Require Emacs 24 at least because of `add-face-text-property' and `filter-buffer-substring-function'; use a different PPA for Emacs 24 testing., ELPA Syncer, 2025/01/31
- [nongnu] elpa/logview 9b2f610a32 053/259: Bump version to require 'datetime' 0.2, which allows to correctly match 2-digit years., ELPA Syncer, 2025/01/31
- [nongnu] elpa/logview 72b6c53492 080/259: Bump version because of an important improvement., ELPA Syncer, 2025/01/31
- [nongnu] elpa/logview 378263fbcc 064/259: Bump version because of a critical bugfix., ELPA Syncer, 2025/01/31
- [nongnu] elpa/logview 60b86ec588 091/259: Use yet another PPA for Emacs 24; silence another warning on it.,
ELPA Syncer <=
- [nongnu] elpa/logview c3e09aca8b 057/259: Fix a ‘mindo’ in README., ELPA Syncer, 2025/01/31
- [nongnu] elpa/logview 664c5d4fc0 095/259: Parse and filter log buffers lazily, as driven by standard Emacs font lock., ELPA Syncer, 2025/01/31
- [nongnu] elpa/logview 846a682246 106/259: Bump version because of significant new features., ELPA Syncer, 2025/01/31
- [nongnu] elpa/logview 1f5b670abd 107/259: Fix a bug added in commit 664c5d4 that completely broke submodes that have no concept of thread., ELPA Syncer, 2025/01/31
- [nongnu] elpa/logview 6a4e3f06d9 118/259: Cache entry timestamp parsing result., ELPA Syncer, 2025/01/31
- [nongnu] elpa/logview c828af7819 125/259: Fix several byte-compilation warnings., ELPA Syncer, 2025/01/31
- [nongnu] elpa/logview 41c759a20c 130/259: Add view quick access indices to further simplify switching between views., ELPA Syncer, 2025/01/31
- [nongnu] elpa/logview dec120cf8d 140/259: Post-release version bump., ELPA Syncer, 2025/01/31
- [nongnu] elpa/logview 619dee5c97 001/259: Initial commit., ELPA Syncer, 2025/01/31
- [nongnu] elpa/logview 03d77e6a41 056/259: Fix another bug in commit 2a94930 that broke level filtering in certain cases when text filters were present., ELPA Syncer, 2025/01/31