[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [emacs-wiki-discuss] Fixed muse-browse-url for files with position
From: |
Bastien Guerry |
Subject: |
Re: [emacs-wiki-discuss] Fixed muse-browse-url for files with position |
Date: |
Mon, 07 Nov 2005 16:32:23 +0000 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) |
Sorry, full patches here:
--- muse-mode.el 2005-11-07 16:22:54.000000000 +0000
+++ muse-mode.el.orig 2005-11-07 16:21:05.000000000 +0000
@@ -334,7 +334,7 @@
(if (string-match "#" link)
(setq anchor (substring link (match-beginning 0))
link (substring link 0 (match-beginning 0))))
- (muse-visit-link-default link other-window anchor))))
+ (muse-visit-link-default link))))
(defun muse-browse-result (style &optional other-window)
"Visit the current page's published result."
--- muse-protocols.el 2005-11-07 16:22:32.000000000 +0000
+++ muse-protocols.el.orig 2005-11-07 16:22:11.000000000 +0000
@@ -120,9 +120,7 @@
(let* ((proto (concat "\\`" (match-string 1 url)))
(entry (muse-protocol-find proto muse-url-protocols)))
(when entry
- (funcall (cadr entry) url
- (if anchor (concat url anchor)
- url))))))
+ (funcall (cadr entry) url)))))
(defun muse-resolve-url (url &rest ignored)
"Resolve URL with the function specified in `muse-url-protocols'."
--
Bastien Guerry