aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog7
-rw-r--r--lisp/progmodes/flymake.el14
2 files changed, 14 insertions, 7 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index f598df3cd1d..df7a4b270ea 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,10 @@
12005-07-06 Richard M. Stallman <rms@gnu.org>
2
3 * progmodes/flymake.el (flymake-float-time): Instead of
4 with-no-warnings, test for xemacs.
5 (flymake-replace-regexp-in-string): Test fboundp of replace-in-string
6 to avoid warning.
7
12005-07-06 Juanma Barranquero <lekktu@gmail.com> 82005-07-06 Juanma Barranquero <lekktu@gmail.com>
2 9
3 * w32-vars.el (w32-fixed-font-alist): Fix typo in `defcustom' tag. 10 * w32-vars.el (w32-fixed-font-alist): Fix typo in `defcustom' tag.
diff --git a/lisp/progmodes/flymake.el b/lisp/progmodes/flymake.el
index 0fb5411e798..4c5f3ad12b9 100644
--- a/lisp/progmodes/flymake.el
+++ b/lisp/progmodes/flymake.el
@@ -64,15 +64,15 @@
64(defalias 'flymake-float-time 64(defalias 'flymake-float-time
65 (if (fboundp 'float-time) 65 (if (fboundp 'float-time)
66 'float-time 66 'float-time
67 (with-no-warnings 67 (if (featurep 'xemacs)
68 (lambda () 68 (lambda ()
69 (multiple-value-bind (s0 s1 s2) (current-time) 69 (multiple-value-bind (s0 s1 s2) (current-time)
70 (+ (* (float (ash 1 16)) s0) (float s1) (* 0.0000001 s2))))))) 70 (+ (* (float (ash 1 16)) s0) (float s1) (* 0.0000001 s2)))))))
71 71
72(defsubst flymake-replace-regexp-in-string (regexp rep str) 72(defsubst flymake-replace-regexp-in-string (regexp rep str)
73 (if (fboundp 'replace-regexp-in-string) 73 (if (fboundp 'replace-in-string)
74 (replace-regexp-in-string regexp rep str) 74 (replace-in-string str regexp rep)
75 (replace-in-string str regexp rep))) 75 (replace-regexp-in-string regexp rep str)))
76 76
77(defun flymake-split-string (str pattern) 77(defun flymake-split-string (str pattern)
78 "Split STR into a list of substrings bounded by PATTERN. 78 "Split STR into a list of substrings bounded by PATTERN.