[Top][All Lists]

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


From: Rob Walker
Subject: cvs-mode-add-change-log-entry-other-window
Date: Wed, 3 Mar 2004 23:16:51 +0000
User-agent: KMail/1.6

In the function cvs-mode-add-change-log-entry-other-window of pcvs.el:

The let clause in this function should be let* as default-directory is used
in expand-file-name.  The code should read:

(defun-cvs-mode cvs-mode-add-change-log-entry-other-window ()
  "Add a ChangeLog entry in the ChangeLog of the current directory."
  (dolist (fi (cvs-mode-marked nil nil))
    (let* ((default-directory (cvs-expand-dir-name (cvs-fileinfo->dir fi)))
          (buffer-file-name (expand-file-name (cvs-fileinfo->file fi))))
      (message "%s %s" default-directory buffer-file-name)
      (kill-local-variable 'change-log-default-name)
      (save-excursion (add-change-log-entry-other-window)))))

In GNU Emacs (i686-pc-linux-gnu, GTK+ Version 2.2.1)
 of 2004-02-21 on linchpin.tenfoot.org.uk
configured using `configure '--prefix=/home/rob/local/emacs-cvs' '--with-gtk''

Rob Walker
Rob Walker <address@hidden>

reply via email to

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