Function: bibtex-remove-delimiters
bibtex-remove-delimiters is an interactive and byte-compiled function
defined in bibtex.el.gz.
Signature
(bibtex-remove-delimiters &optional COMMA)
Documentation
Remove "" or {} around current BibTeX field text.
Optional arg COMMA is as in bibtex-enclosing-field. It is t for
interactive calls.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/textmodes/bibtex.el.gz
(defun bibtex-remove-delimiters (&optional comma)
"Remove \"\" or {} around current BibTeX field text.
Optional arg COMMA is as in `bibtex-enclosing-field'. It is t for
interactive calls."
(interactive (list t))
(let ((bounds (bibtex-find-text-internal nil t comma)))
(unless (nth 4 bounds)
(delete-region (1- (nth 2 bounds)) (nth 2 bounds))
(delete-region (nth 1 bounds) (1+ (nth 1 bounds))))))