X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=lisp%2Ftoolbar-items.el;h=39d1f5114ce2e8b0f550080f68d5a9471f18c24b;hb=a8e771edf595dcbfa8301a1b52187758bed7b615;hp=afe876a240b68a2508e321b195d7268b218e4ab7;hpb=59eec5f21669e81977b5b1fe9bf717cab49cf7fb;p=chise%2Fxemacs-chise.git.1 diff --git a/lisp/toolbar-items.el b/lisp/toolbar-items.el index afe876a..39d1f51 100644 --- a/lisp/toolbar-items.el +++ b/lisp/toolbar-items.el @@ -78,9 +78,9 @@ (function :tag "Other")) :group 'toolbar) -(defun toolbar-dired () - (interactive) - (call-interactively toolbar-dired-function)) +(defun toolbar-dired (dir) + (interactive "DDired directory: ") + (funcall toolbar-dired-function dir)) (defcustom toolbar-save-function 'save-buffer "*Function to call when the save icon is selected." @@ -400,7 +400,7 @@ Newsreaders known by default are gnus, rn, nn, trn, xrn, slrn, pine (let ((command (cdr-safe (assq toolbar-news-reader toolbar-news-commands-alist)))) (or command - (error "Unkown news reader %s" toolbar-news-reader)) + (error "Unknown news reader %s" toolbar-news-reader)) (if (symbolp command) (call-interactively command) (eval command))))