diff options
author | Thanos Apollo <[email protected]> | 2025-01-03 10:10:02 +0200 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2025-01-03 10:10:02 +0200 |
commit | d2b2262db6cfb1baadf5a6410af3d536084de71d (patch) | |
tree | 4576979076ea0a994e39890baaf5482c5bb4e8e3 | |
parent | eefd0abb3cb7ca8a09c249686ff67555724624da (diff) |
Remove image settings & directories.
* Images won't be used in gnosis anymore.
-rw-r--r-- | gnosis.el | 24 |
1 files changed, 3 insertions, 21 deletions
@@ -65,6 +65,9 @@ :type 'directory :group 'gnosis) +(unless (file-directory-p gnosis-dir) + (make-directory gnosis-dir)) + (defcustom gnosis-cloze-string "[...]" "Gnosis string to represent a cloze." :type 'string @@ -103,27 +106,6 @@ framework's minibuffer." :type 'function :group 'gnosis) -(defcustom gnosis-image-height nil - "Height of image to display during review. - -When nil, the image will be displayed at its original size." - :type 'integer - :group 'gnosis) - -(defcustom gnosis-image-width nil - "Width of image to display during review. - -When nil, the image will be displayed at its original size." - :type 'integer - :group 'gnosis) - -(defvar gnosis-images-dir (expand-file-name "images" gnosis-dir) - "Gnosis images directory.") - -(unless (file-directory-p gnosis-dir) - (make-directory gnosis-dir) - (make-directory gnosis-images-dir)) - (defvar gnosis-db (emacsql-sqlite-open (expand-file-name "gnosis.db" gnosis-dir)) "Gnosis database file.") |