Преглед на файлове

ol-man: Silence byte-compiler

Nicolas Goaziou преди 5 години
родител
ревизия
5f47639ec3
променени са 1 файла, в които са добавени 1 реда и са изтрити 2 реда
  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))))