Mercurial > emacs
comparison doc/misc/flymake.texi @ 86275:2cce56fd7361
Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-937
author | Miles Bader <miles@gnu.org> |
---|---|
date | Wed, 21 Nov 2007 04:55:58 +0000 |
parents | 5039706521c9 |
children | 5d58981e6690 |
comparison
equal
deleted
inserted
replaced
86274:860b7eb2a46f | 86275:2cce56fd7361 |
---|---|
411 | 411 |
412 @lisp | 412 @lisp |
413 (defun flymake-perl-init () | 413 (defun flymake-perl-init () |
414 (let* ((temp-file (flymake-init-create-temp-buffer-copy | 414 (let* ((temp-file (flymake-init-create-temp-buffer-copy |
415 'flymake-create-temp-inplace)) | 415 'flymake-create-temp-inplace)) |
416 (local-file (concat (flymake-build-relative-filename | 416 (local-file (file-relative-name |
417 (file-name-directory | 417 temp-file |
418 (buffer-file-name | 418 (file-name-directory buffer-file-name)))) |
419 (current-buffer))) | |
420 (file-name-directory temp-file)) | |
421 (file-name-nondirectory temp-file)))) | |
422 (list "perl" (list "-wc " local-file)))) | 419 (list "perl" (list "-wc " local-file)))) |
423 @end lisp | 420 @end lisp |
424 | 421 |
425 @code{flymake-perl-init} creates a temporary copy of the buffer | 422 @code{flymake-perl-init} creates a temporary copy of the buffer |
426 contents with the help of | 423 contents with the help of |