# HG changeset patch # User Roland Winkler # Date 1203968963 0 # Node ID 301d82bab9823b327245e984aa6bbabebb533e56 # Parent f6fa050c615af14b80a1fbd4b7bde34da137046f * textmodes/bibtex.el: Remove support for hideshow minor mode as it duplicates the bibtex support in progmodes/hideshow.el. * progmodes/hideshow.el (hs-special-modes-alist): Allow bibtex entry that do not start at the beginning of a line. diff -r f6fa050c615a -r 301d82bab982 lisp/textmodes/bibtex.el --- a/lisp/textmodes/bibtex.el Mon Feb 25 19:47:34 2008 +0000 +++ b/lisp/textmodes/bibtex.el Mon Feb 25 19:49:23 2008 +0000 @@ -1291,19 +1291,6 @@ Used when `bibtex-maintain-sorted-entries' is `entry-class'.") -;; Support for hideshow minor mode -(defun bibtex-hs-forward-sexp (arg) - "Replacement for `forward-sexp' to be used by `hs-minor-mode'. -ARG is ignored." - (if (looking-at "@\\S(*\\s(") - (goto-char (1- (match-end 0)))) - (forward-sexp 1)) - -(add-to-list - 'hs-special-modes-alist - '(bibtex-mode "@\\S(*\\s(" "\\s)" nil bibtex-hs-forward-sexp nil)) - - (defun bibtex-parse-association (parse-lhs parse-rhs) "Parse a string of the format . The functions PARSE-LHS and PARSE-RHS are used to parse the corresponding