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:
parent
b1dfec553a
commit
5ef5ef3feb
@ -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.
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user