[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/xml.el
From: |
Juanma Barranquero |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/xml.el |
Date: |
Thu, 20 Mar 2003 13:01:04 -0500 |
Index: emacs/lisp/xml.el
diff -c emacs/lisp/xml.el:1.17 emacs/lisp/xml.el:1.18
*** emacs/lisp/xml.el:1.17 Sun Mar 16 05:46:54 2003
--- emacs/lisp/xml.el Thu Mar 20 13:01:04 2003
***************
*** 294,300 ****
;; or a simple word ?
(if (looking-at "\"\\([^\"]*\\)\"")
(setq start-pos (match-beginning 0))
! (if (looking-at "'\\([^']*\\)")
(setq start-pos (match-beginning 0))
(error "XML: Attribute values must be given between quotes")))
--- 294,300 ----
;; or a simple word ?
(if (looking-at "\"\\([^\"]*\\)\"")
(setq start-pos (match-beginning 0))
! (if (looking-at "'\\([^']*\\)'")
(setq start-pos (match-beginning 0))
(error "XML: Attribute values must be given between quotes")))
***************
*** 314,320 ****
(goto-char start-pos)
(if (looking-at "\"\\([^\"]*\\)\"")
(goto-char (match-end 0))
! (if (looking-at "'\\([^']*\\)")
(goto-char (match-end 0))))
(goto-char (- (re-search-forward "[^ \t\n\r]") 1))
--- 314,320 ----
(goto-char start-pos)
(if (looking-at "\"\\([^\"]*\\)\"")
(goto-char (match-end 0))
! (if (looking-at "'\\([^']*\\)'")
(goto-char (match-end 0))))
(goto-char (- (re-search-forward "[^ \t\n\r]") 1))