diff options
author | Thanos Apollo <[email protected]> | 2024-01-17 03:26:48 +0200 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2024-01-17 03:26:48 +0200 |
commit | 2473e9127a8f8ece2bcb1052d5450834bbbbb4c8 (patch) | |
tree | c6868b0ae78cbcdfb069571219502c63d0745822 /gnosis.el | |
parent | e84e10e71db5722cb742056b80e64b054bf4bfcc (diff) |
gnosis-db-init: Redo without length=
Length= is available only for Emacs 28.1 >
Pointed out by Nicholas Vollmer
Diffstat (limited to 'gnosis.el')
-rw-r--r-- | gnosis.el | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1390,7 +1390,7 @@ review." ;; Make sure gnosis-db is initialized (setf gnosis-db (emacsql-sqlite (concat (file-name-as-directory gnosis-dir) "gnosis.db")))) ;; Create database tables - (unless (length= (emacsql gnosis-db [:select name :from sqlite-master :where (= type table)]) 6) + (unless (= (length (emacsql gnosis-db [:select name :from sqlite-master :where (= type table)])) 6) ;; Enable foreign keys (emacsql gnosis-db "PRAGMA foreign_keys = ON") ;; Gnosis version |