Explorar o código

ol-man: Silence byte-compiler

Nicolas Goaziou %!s(int64=5) %!d(string=hai) anos
pai
achega
5f47639ec3
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  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))))