Path: csiph.com!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Patricia Ferreira Newsgroups: pt.comp.programacao Subject: Re: um pacote pra renomear sem sobrescrever Date: Tue, 23 Jan 2024 23:00:51 -0300 Organization: A noiseless patient Spider Lines: 17 Message-ID: <87jznzij70.fsf@example.com> References: <87plxrikn8.fsf@example.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: dont-email.me; posting-host="a371e9e28cbc90dcf955975abd5071af"; logging-data="1609311"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/nJxH9H/bOU1vNwchaEaxCVzuQgYAoWvc=" Cancel-Lock: sha1:LIW8wDFsnwklXOWWmyAJo23A9fQ= sha1:h+d7+fQC3gps1TQwtiPoahk5mMQ= Xref: csiph.com pt.comp.programacao:190 Patricia Ferreira writes: [...] > #-(or win32 linux) > (defun rename-noreplace (old new) > ;; Unfortunately, we cannot guarantee atomicity. Returns pathnames > ;; if okay. NIL otherwise. > (or (rename-file old new)) Faltou um parêntese aí. #-(or win32 linux) (defun rename-noreplace (old new) ;; Unfortunately, we cannot guarantee atomicity. Returns pathnames ;; if okay. NIL otherwise. (or (rename-file old new)))