From b879b382de4ee3f14dbe652ebc996645cf52807a Mon Sep 17 00:00:00 2001 From: Ivan Kanis Date: Mon, 24 Jun 2013 11:17:51 +0200 Subject: [PATCH 5/7] add optional argument needed for browse url --- emacs/gnus/eww.el | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/emacs/gnus/eww.el b/emacs/gnus/eww.el index d34b84a..f5c2eb9 100644 --- a/emacs/gnus/eww.el +++ b/emacs/gnus/eww.el @@ -99,8 +99,9 @@ It will be used when emacs runs on neither Windows or Mac." (defvar eww-contents-url nil) ;;;###autoload -(defun eww (url) - "Fetch URL and render the page." +(defun eww (url &optional new-session interactive-p) + "Fetch URL and render the page. +NEW-SESSION and INTERCATIVE-P are not used" (interactive "sEnter URL or keywords: ") (if (and (= (length (split-string url)) 1) (> (length (split-string url "\\.")) 1)) -- 1.7.1