1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-31 20:02:42 +00:00

(Example -- Configuring a tool called directly): Update example.

This commit is contained in:
Richard M. Stallman 2007-11-20 12:39:52 +00:00
parent b1dfec553a
commit 5ef5ef3feb
2 changed files with 8 additions and 6 deletions

View File

@ -1,3 +1,8 @@
2007-11-18 Richard Stallman <rms@gnu.org>
* flymake.texi (Example -- Configuring a tool called directly):
Update example.
2007-11-15 Juanma Barranquero <lekktu@gmail.com>
* cc-mode.texi (Electric Keys, Custom Macros): Fix typos.

View File

@ -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