From b5d924050bf370da857666637ea512a0d74b444c Mon Sep 17 00:00:00 2001 From: cranej Date: Thu, 5 Dec 2024 15:39:16 +0800 Subject: [PATCH] Bump required emacs version to 28.1. --- zk.el | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/zk.el b/zk.el index e2f188a..876f459 100644 --- a/zk.el +++ b/zk.el @@ -5,9 +5,9 @@ ;; Author: Grant Rosson ;; Created: January 4, 2022 ;; License: GPL-3.0-or-later -;; Version: 0.7 +;; Version: 0.8 ;; URL: https://github.com/localauthor/zk -;; Package-Requires: ((emacs "25.1")) +;; Package-Requires: ((emacs "28.1")) ;; This program is free software; you can redistribute it and/or modify it ;; under the terms of the GNU General Public License as published by the Free @@ -303,15 +303,6 @@ Adds zk-id as an Embark target, and adds `zk-id-map' and (listp list) (null (cdr list)))) -(when (version< emacs-version "28.1") - (defun ensure-list (object) - "Return OBJECT as a list. -If OBJECT is already a list, return OBJECT itself. If it's -not a list, return a one-element list containing OBJECT." - (if (listp object) - object - (list object)))) - (defun zk-file-name-regexp () "Return the correct regexp matching zk file names. The regexp captures these groups: