[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[emacs-wiki-discuss] [bug fix] planner-bookmark.el
From: |
Dryice Liu |
Subject: |
[emacs-wiki-discuss] [bug fix] planner-bookmark.el |
Date: |
Tue, 01 Mar 2005 14:35:56 +0800 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) |
This patch fix problem if planner-multi is loaded and there are space
in bookmark name.
With planner-multi-separator set to " " (the default), if there are
space in the bookmark name, the defadviced version of
planner-make-link will separate the bookmark name by space and make
several links, which is not what we want. Changing the call from
planner-make-link to emacs-wiki-make-link fix this.
======================================================================
--- orig/planner-bookmark.el
+++ mod/planner-bookmark.el
@@ -94,7 +94,7 @@
(let ((bookmark-annotation (bookmark-get-annotation bookmark-name)))
(if (string-equal bookmark-annotation "")
(setq bookmark-annotation nil))
- (planner-make-link
+ (emacs-wiki-make-link
(concat "bookmark://" bookmark-name)
(or bookmark-annotation bookmark-name))))
======================================================================
This is also on patch-21 of http://dryice.3322.org/arch
--
Dryice @ http://dryice.3322.org
Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/sylvester-response.html
- [emacs-wiki-discuss] [bug fix] planner-bookmark.el,
Dryice Liu <=