summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
bde7f86)
Don't use 'with-eval-after-load'.
;; Avoid byte compilation warnings.
(eval-when-compile
(declare-function org-link-store-props "ol")
;; Avoid byte compilation warnings.
(eval-when-compile
(declare-function org-link-store-props "ol")
- (declare-function org-link-set-parameters "ol"))
+ (declare-function org-link-set-parameters "ol")
+ (defvar thing-at-point-uri-schemes))
(defun elpher-org-link-store ()
"Store link to an `elpher' page in `org'."
(defun elpher-org-link-store ()
"Store link to an `elpher' page in `org'."
'("^\\(gopher\\|finger\\|gemini\\)://" . elpher-browse-url-elpher))
;; Register "gemini://" as a URI scheme so `browse-url' does the right thing
'("^\\(gopher\\|finger\\|gemini\\)://" . elpher-browse-url-elpher))
;; Register "gemini://" as a URI scheme so `browse-url' does the right thing
-(with-eval-after-load 'thingatpt
- (add-to-list 'thing-at-point-uri-schemes "gemini://"))
+(add-to-list 'thing-at-point-uri-schemes "gemini://")
;;; Interactive procedures
;;
;;; Interactive procedures
;;