summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2007-11-20 12:39:52 +0000
committerRichard M. Stallman <rms@gnu.org>2007-11-20 12:39:52 +0000
commit5ef5ef3febd0a508a9fd0ea8bfc916803fc6bac6 (patch)
treed5d5440f13611036fdb277207008a6532a2a8e15 /man
parentb1dfec553a2be7e1bd027a9f7abdf328bcc379cb (diff)
downloademacs-5ef5ef3febd0a508a9fd0ea8bfc916803fc6bac6.tar.gz
(Example -- Configuring a tool called directly): Update example.
Diffstat (limited to 'man')
-rw-r--r--man/ChangeLog5
-rw-r--r--man/flymake.texi9
2 files changed, 8 insertions, 6 deletions
diff --git a/man/ChangeLog b/man/ChangeLog
index 955ce866033..88b4087d6ca 100644
--- a/man/ChangeLog
+++ b/man/ChangeLog
@@ -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.
diff --git a/man/flymake.texi b/man/flymake.texi
index 340a1d164fd..b5ad634c803 100644
--- a/man/flymake.texi
+++ b/man/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