(forward-char))))
(bibtex-find-text arg t))
-(defun bibtex-find-text (arg &optional as-if-interactive)
+(defun bibtex-find-text (arg &optional as-if-interactive silent)
"Go to end of text of current field; with ARG, go to beginning."
(interactive "P")
(bibtex-inside-field)
(match-beginning bibtex-key-in-head)
(match-end 0))))
(t
- (error "Not on BibTeX field.")))))
+ (if (not silent)
+ (error "Not on BibTeX field."))))))
(defun bibtex-remove-OPT-or-ALT ()
"Removes the string starting optional/alternative fields.
(if copy-only
(goto-char pnt)
(delete-region the-beginning the-end)
- (goto-char the-beginning)
(let (bibtex-help-message)
- (bibtex-find-text nil t)))))
+ (bibtex-find-text nil t t)))))
(setq bibtex-last-kill-command 'field))
(defun bibtex-copy-field-as-kill ()
" comma at end of entry? "))
'last-comma)
(if (y-or-n-p
- "Substitute double page dashes by single ones? ")
+ "Replace double page dashes by single ones? ")
'page-dashes)
(if (y-or-n-p
"Force delimiters? ")