X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=lisp%2Friece-mode.el;h=6f9c4e32c97d457b8ac72e8a39f58250d2e44aec;hb=77d0e9b7b0bea6b2dceb7046a1b03a9dfdd73762;hp=4a779401facf5348d02a51d26569485a58bc4406;hpb=2698182f06e6c6b36412cddce8d6d2c6cb25c965;p=elisp%2Friece.git diff --git a/lisp/riece-mode.el b/lisp/riece-mode.el index 4a77940..6f9c4e3 100644 --- a/lisp/riece-mode.el +++ b/lisp/riece-mode.el @@ -19,17 +19,17 @@ ;; You should have received a copy of the GNU General Public License ;; along with GNU Emacs; see the file COPYING. If not, write to the -;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, -;; Boston, MA 02111-1307, USA. +;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +;; Boston, MA 02110-1301, USA. ;;; Code: (defun riece-parse-modes (string) (let ((start 0) result) - (while (and (string-match "[-+]\\([^ ]*\\) *" string start) + (while (and (string-match "[-+]\\([^-+ ]*\\) *" string start) (= (match-beginning 0) start)) - (let ((toggle (eq (aref string 0) ?+)) + (let ((toggle (eq (aref string start) ?+)) (modes (string-to-list (match-string 1 string)))) (setq start (match-end 0)) (while modes