X-Git-Url: https://code.delx.au/gnu-emacs-elpa/blobdiff_plain/8a2d60fa192b13776177bbae17dc85135f2a62b0..90473ac8cf0c833bfec413fc18d5866208d2e3e9:/packages/gnugo/gnugo.el diff --git a/packages/gnugo/gnugo.el b/packages/gnugo/gnugo.el index 71164e51b..c25cee3eb 100644 --- a/packages/gnugo/gnugo.el +++ b/packages/gnugo/gnugo.el @@ -4,9 +4,10 @@ ;; Author: Thien-Thi Nguyen ;; Maintainer: Thien-Thi Nguyen -;; Version: 2.3.1 +;; Version: 3.0.0 ;; Package-Requires: ((ascii-art-to-unicode "1.5") (xpm "1.0.1") (cl-lib "0.5")) ;; Keywords: games, processes +;; URL: http://www.gnuvola.org/software/gnugo/ ;; This program is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by @@ -81,13 +82,7 @@ ;; Meta-Meta-Playing (aka Hacking) ;; ------------------------------- ;; -;; -;; -;; -;; Tip Jar -;; ------- -;; -;; +;; ;;; Code: @@ -97,7 +92,7 @@ ;;;--------------------------------------------------------------------------- ;;; Political arts -(defconst gnugo-version "2.3.1" +(defconst gnugo-version "3.0.0" "Version of gnugo.el currently loaded. This follows a MAJOR.MINOR.PATCH scheme.") @@ -414,7 +409,7 @@ Handle the big, slow-to-render, and/or uninteresting ones specially." (if (string= "" d) ".+\n" "")))) - (while (re-search-forward rx (point-max) t) + (while (re-search-forward rx nil t) (let ((pos (get-text-property (string-to-number (match-string 1)) 'gnugo-position buf))) (delete-region (+ 2 (match-beginning 0)) (point)) @@ -2354,7 +2349,7 @@ See `gnugo-board-mode' for a full list of commands." (goto-char (point-min)) (save-excursion (while (re-search-forward "^ *[*] \\([a-zA-Z_]+\\)\\(:.*\\)*\n" - (point-max) t) + nil t) (unless pad (setq pad (make-string (- (match-beginning 1) (match-beginning 0))