From: Richard Stallman <rms@gnu.org>
To: Pavel Kobyakov <pk_at_work@yahoo.com>
Cc: emacs-pretest-bug@gnu.org
Subject: Re: flymake doc fix
Date: Fri, 16 Nov 2007 23:54:09 -0500 [thread overview]
Message-ID: <E1ItFh3-00017H-Fz@fencepost.gnu.org> (raw)
In-Reply-To: <E1Iprca-000PaU-00.dnz-bk-ru@f58.mail.ru> (message from dnz on Wed, 07 Nov 2007 23:35:32 +0300)
[I sent this message a week ago but did not get a response.]
Could you please tell us what we should do with this?
From: dnz <dnz@bk.ru>
To: emacs-pretest-bug@gnu.org
Mime-Version: 1.0
Date: Wed, 07 Nov 2007 23:35:32 +0300
Content-Type: text/plain; charset=koi8-r
Cc:
Subject: flymake doc fix
Reply-To: dnz <dnz@bk.ru>
Update flymake-perl-init example to the latest version
(flymake-build-relative-filename replaced with file-relative-name).
diff --git a/doc/misc/flymake.texi b/doc/misc/flymake.texi
index 491ee63..6ab4c19 100644
--- a/doc/misc/flymake.texi
+++ b/doc/misc/flymake.texi
@@ -413,12 +413,9 @@ First, we write the @code{init-function}:
(defun flymake-perl-init ()
(let* ((temp-file (flymake-init-create-temp-buffer-copy
'flymake-create-temp-inplace))
- (local-file (concat (flymake-build-relative-filename
- (file-name-directory
- (buffer-file-name
- (current-buffer)))
- (file-name-directory temp-file))
- (file-name-nondirectory temp-file))))
+ (local-file (file-relative-name
+ temp-file
+ (file-name-directory buffer-file-name))))
(list "perl" (list "-wc " local-file))))
@end lisp
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel
next prev parent reply other threads:[~2007-11-17 4:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-07 20:35 flymake doc fix dnz
2007-11-09 22:00 ` Richard Stallman
2007-11-17 4:54 ` Richard Stallman [this message]
2007-11-18 13:01 ` Richard Stallman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1ItFh3-00017H-Fz@fencepost.gnu.org \
--to=rms@gnu.org \
--cc=emacs-pretest-bug@gnu.org \
--cc=pk_at_work@yahoo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.