Browse Source

Remove stale link handler for news: links

* org.el (org-open-at-point): Remove stale link handler for news:
links.

This condition case is never evaluated because the news: link is
already passed to `browse-url'.
David Maus 14 năm trước cách đây
mục cha
commit
49a00abf3d
1 tập tin đã thay đổi với 0 bổ sung4 xóa
  1. 0 4
      lisp/org.el

+ 0 - 4
lisp/org.el

@@ -9170,10 +9170,6 @@ application the system uses for this file type."
 	      (dired path)
 	    (org-open-file path in-emacs line search)))
 
-	 ((string= type "news")
-	  (require 'org-gnus)
-	  (org-gnus-follow-link path))
-
 	 ((string= type "shell")
 	  (let ((cmd path))
 	    (if (or (not org-confirm-shell-link-function)