(gnus-score-edit-file-at-point): Use
authorSimon Josefsson <jas@extundo.com>
Tue, 30 Dec 2003 21:33:11 +0000 (21:33 +0000)
committerSimon Josefsson <jas@extundo.com>
Tue, 30 Dec 2003 21:33:11 +0000 (21:33 +0000)
gnus-point-at-*, for portability.

lisp/ChangeLog
lisp/gnus-score.el

index 08ca658..5399ba2 100644 (file)
@@ -1,3 +1,8 @@
+2003-12-30  Simon Josefsson  <jas@extundo.com>
+
+       * gnus-score.el (gnus-score-edit-file-at-point): Use
+       gnus-point-at-*, for portability.
+
 2003-12-30  Reiner Steib  <Reiner.Steib@gmx.de>
 
        * gnus-art.el (gnus-treat-body-boundary): Fix doc-string and
index de6f78a..664a563 100644 (file)
@@ -1117,9 +1117,9 @@ If FORMAT, also format the current score file."
         (reg " -> +")
         (file (save-excursion
                 (end-of-line)
-                (if (and (re-search-backward reg (point-at-bol) t)
-                         (re-search-forward  reg (point-at-eol) t))
-                    (buffer-substring (point) (point-at-eol))
+                (if (and (re-search-backward reg (gnus-point-at-bol) t)
+                         (re-search-forward  reg (gnus-point-at-eol) t))
+                    (buffer-substring (point) (gnus-point-at-eol))
                   nil))))
     (if (or (not file)
            (string-match "non-file" file)