Index: wp-includes/link-template.php
===================================================================
--- wp-includes/link-template.php	(revision 7945)
+++ wp-includes/link-template.php	(working copy)
@@ -611,7 +611,8 @@
 
 	$format = str_replace('%link', $link, $format);
 
-	echo $format;
+	$adjacent = $previous ? 'previous' : 'next';
+	echo apply_filters( "{$adjacent}_post_link", $format, $link );
 }
 
 function get_pagenum_link($pagenum = 1) {
