mirror of https://codeberg.org/cage/tinmop/
- changed a couple of constants names.
This commit is contained in:
parent
7fd900bbd2
commit
3db84cb571
|
@ -173,11 +173,11 @@ General Public License for more details."
|
|||
|
||||
(define-constant +file-scheme+ "file" :test #'string=)
|
||||
|
||||
(define-constant +internal-scheme+ "about" :test #'string=)
|
||||
(define-constant +about-scheme+ "about" :test #'string=)
|
||||
|
||||
(define-constant +internal-path-bookmark+ "bookmark" :test #'string=)
|
||||
(define-constant +internal-scheme-bookmark+ "bookmark" :test #'string=)
|
||||
|
||||
(define-constant +internal-path-gemlogs+ "gemlog" :test #'string=)
|
||||
(define-constant +internal-scheme-gemlogs+ "gemlog" :test #'string=)
|
||||
|
||||
(define-constant +internal-scheme-view-source+ "view-source" :test #'string=)
|
||||
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
(in-package :client-main-window)
|
||||
|
||||
(defun make-internal-iri (path &optional (query nil) (fragment nil))
|
||||
(iri:make-iri +internal-scheme+ nil nil nil path query fragment))
|
||||
(iri:make-iri +about-scheme+ nil nil nil path query fragment))
|
||||
|
||||
(defun internal-iri-bookmark ()
|
||||
(make-internal-iri +internal-path-bookmark+))
|
||||
(make-internal-iri +internal-scheme-bookmark+))
|
||||
|
||||
(defun internal-iri-gemlogs ()
|
||||
(make-internal-iri +internal-path-gemlogs+))
|
||||
(make-internal-iri +internal-scheme-gemlogs+))
|
||||
|
||||
(defun internal-iri-view-source (path &optional (query nil) (fragment nil))
|
||||
(iri:make-iri +internal-scheme-view-source+ nil nil nil path query fragment))
|
||||
|
|
|
@ -74,9 +74,9 @@
|
|||
:+octect-type+
|
||||
:+gemini-file-extension+
|
||||
:+file-scheme+
|
||||
:+internal-scheme+
|
||||
:+internal-path-bookmark+
|
||||
:+internal-path-gemlogs+
|
||||
:+about-scheme+
|
||||
:+internal-scheme-bookmark+
|
||||
:+internal-scheme-gemlogs+
|
||||
:+internal-scheme-view-source+
|
||||
:+internal-scheme-local-posts+
|
||||
:+fediverse-account-name-server-separator+
|
||||
|
|
Loading…
Reference in New Issue