Browse Source

ol-man: Silence byte-compiler

Nicolas Goaziou 5 years ago
parent
commit
5f47639ec3
1 changed files with 1 additions and 2 deletions
  1. 1 2
      contrib/lisp/ol-man.el

+ 1 - 2
contrib/lisp/ol-man.el

@@ -24,7 +24,6 @@
 ;;; Commentary:
 
 (require 'ol)
-(require 'org)
 
 (org-link-set-parameters "man"
 			 :follow #'org-man-open
@@ -48,7 +47,7 @@ PATH should be a topic that can be thrown at the man command."
     (let* ((page (org-man-get-page-name))
            (link (concat "man:" page))
            (description (format "Manpage for %s" page)))
-      (org-store-link-props
+      (org-link-store-props
        :type "man"
        :link link
        :description description))))