diff lisp/occur.el @ 4103:b4f4e0cc90f1

[xemacs-hg @ 2007-08-07 23:08:47 by aidan] Eliminate byte compiler warnings, give nicer errors in the absence of packages.
author aidan
date Tue, 07 Aug 2007 23:09:22 +0000
parents b593e47979a5
children ed74d2ca7082 308d34e9f07d
line wrap: on
line diff
--- a/lisp/occur.el	Tue Aug 07 21:51:12 2007 +0000
+++ b/lisp/occur.el	Tue Aug 07 23:09:22 2007 +0000
@@ -467,9 +467,9 @@
 		    (setq marker (make-marker))
 		    (set-marker marker matchbeg)
 		    (if (and keep-props
-			     (if (boundp 'jit-lock-mode) jit-lock-mode)
+			     (if-boundp 'jit-lock-mode jit-lock-mode)
 			     (text-property-not-all begpt endpt 'fontified t))
-			(if (fboundp 'jit-lock-fontify-now)
+			(if-fboundp #'jit-lock-fontify-now
 			    (jit-lock-fontify-now begpt endpt)))
 		    (setq curstring (buffer-substring begpt endpt))
 		    ;; Depropertize the string, and maybe