"\\("
"[^\"\\]" ;; anything but quote or backslash
"\\|"
- "\\("
+ "\\("
"\\\\\\(.\\|\n\\)" ;; any backslash quoted character
"\\)"
"\\)*"
(if (looking-at "\"")
(setq end-point (bibtex-parse-quoted-string)))
(goto-char starting-point)
- (if end-point
+ (if end-point
(cons starting-point end-point)
nil))))
(setq bibtex-field-name-for-parsing name)
(let ((starting-point (point))
(boundaries nil))
- (while (and (not boundaries)
+ (while (and (not boundaries)
(< (point) bound)
(search-forward "," bound t))
(goto-char (match-beginning 0))
- (let ((temp-boundaries
+ (let ((temp-boundaries
(bibtex-parse-association 'bibtex-parse-field-name
'bibtex-parse-field-text)))
(if (and temp-boundaries (<= (cdr (cdr temp-boundaries)) bound))
(while (and (not boundaries)
(>= (point) bound)
(search-backward "," bound t))
- (let ((temp-boundaries
+ (let ((temp-boundaries
(bibtex-parse-association 'bibtex-parse-field-name
'bibtex-parse-field-text)))
(if temp-boundaries
(progn
(goto-char (cdr text-boundaries))
(if (looking-at "[ \t\n]*[})]")
- (let ((boundaries (list (car text-boundaries)
+ (let ((boundaries (list (car text-boundaries)
(cdr text-boundaries)
(match-end 0))))
(goto-char (match-end 0))
(let* ((case-fold-search t)
(starting-point (point))
(boundaries nil))
- (while (and (not boundaries)
- (search-forward-regexp
+ (while (and (not boundaries)
+ (search-forward-regexp
"^[ \t]*@string[ \t\n]*[({][ \t\n]*" nil t))
(goto-char (match-beginning 0))
(let ((temp-boundaries (bibtex-parse-string)))
(starting-point (point))
(boundaries nil))
(while (and (not boundaries)
- (search-backward-regexp
+ (search-backward-regexp
"^[ \t]*@string[ \t\n]*[({][ \t\n]*" nil t))
(goto-char (match-beginning 0))
(let ((temp-boundaries (bibtex-parse-string)))
(let* ((case-fold-search t)
(year (bibtex-autokey-get-yearfield-digits max)))
(if (and (string= year "") bibtex-autokey-year-use-crossref-entry)
- (let* ((bounds
+ (let* ((bounds
(bibtex-search-forward-field "\\(OPT\\)?crossref" max))
(crossref-field
(if bounds
(while (and (not failure) (> arg 0))
(cond ((eq direction 'previous)
(setq bounds (bibtex-search-backward-field field-name (point-min)))
- (if bounds
+ (if bounds
(goto-char (bibtex-start-of-field bounds))
(setq failure t)))
((eq direction 'next)
(setq bounds (bibtex-search-forward-field field-name (point-max)))
- (if bounds
+ (if bounds
(goto-char (bibtex-end-of-field bounds))
(setq failure t))))
(setq arg (- arg 1)))
variable IGNORE-DUPS is non-nil, no error messages about duplicate
entries are signaled, but the error handling is assumed to be made in
the calling function.
-The value is nil if an duplicate entry error occurred,
+The value is nil if a duplicate entry error occurred,
and t in all other cases."
(let* ((case-fold-search t)
(left