emacs-wiki-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[emacs-wiki-discuss] planner-annotation-as-kill bug


From: Jim Ottaway
Subject: [emacs-wiki-discuss] planner-annotation-as-kill bug
Date: Thu, 23 Jun 2005 15:54:14 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

I found a small bug in planner-annotation-as-kill: the let should be
let*.

Regards,

Jim Ottaway

--- orig/planner.el
+++ mod/planner.el
@@ -1551,7 +1551,7 @@
   "Copy the current annotation into the kill ring.
 When called with a prefix argument, prompt for the link display name."
   (interactive "P")
-  (let ((link (run-hook-with-args-until-success 'planner-annotation-functions))
+  (let* ((link (run-hook-with-args-until-success 
'planner-annotation-functions))
         (link-name (if arg (read-string (format "Link name for %s: " link)))))
     (unless (= 0 (length link-name))
       (setq link (emacs-wiki-make-link link link-name)))






reply via email to

[Prev in Thread] Current Thread [Next in Thread]