]> code.delx.au - gnu-emacs/blobdiff - lisp/org/org-info.el
Update copyright year to 2016
[gnu-emacs] / lisp / org / org-info.el
index 4f44045f9bfff20ad90e27a1124c333e2805dcef..8eb6955080127f89df1f41d26773a774f641c9c6 100644 (file)
@@ -1,11 +1,10 @@
 ;;; org-info.el --- Support for links to Info nodes from within Org-Mode
 
-;; Copyright (C) 2004-201 Free Software Foundation, Inc.
+;; Copyright (C) 2004-2016 Free Software Foundation, Inc.
 
 ;; Author: Carsten Dominik <carsten at orgmode dot org>
 ;; Keywords: outlines, hypermedia, calendar, wp
 ;; Homepage: http://orgmode.org
-;; Version: 7.7
 ;;
 ;; This file is part of GNU Emacs.
 ;;
@@ -49,9 +48,9 @@
   "Store a link to an Info file and node."
   (when (eq major-mode 'Info-mode)
     (let (link desc)
-      (setq link (org-make-link "info:"
-                               (file-name-nondirectory Info-current-file)
-                               "#" Info-current-node))
+      (setq link (concat "info:"
+                        (file-name-nondirectory Info-current-file)
+                        "#" Info-current-node))
       (setq desc (concat (file-name-nondirectory Info-current-file)
                         "#" Info-current-node))
       (org-store-link-props :type "info" :file Info-current-file
@@ -77,6 +76,4 @@
 
 (provide 'org-info)
 
-
-
 ;;; org-info.el ends here