emacs-devel
[Top][All Lists]
Advanced

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

Re: shell-command - missing shell-quote-argument for program?


From: Lennart Borgman
Subject: Re: shell-command - missing shell-quote-argument for program?
Date: Sat, 14 Oct 2006 01:16:37 +0200
User-agent: Thunderbird 1.5.0.7 (Windows/20060909)

Lennart Borgman wrote:

Coming this far I looked a bit more carefully at filesets-run-cmd. And I do not understand what it is doing. The code below is from this function. I have however replaced the name of the loop variable from "this" to "file". Further down in the function neither "file" or "buffer" is used. Seems strange to me. Can someone explain what the code does or what it was supposed to do? :

           (dolist (file files nil)
             (save-excursion
               (save-restriction
                 (let ((buffer (filesets-find-file file)))
                   (when buffer
                     (goto-char (point-min))

Oh, please forget this question. I did not see the find-file. That changes the current buffer and that is what is used later.




reply via email to

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