changeset 92217:301d82bab982

* 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.
author Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
date Mon, 25 Feb 2008 19:49:23 +0000
parents f6fa050c615a
children 1d8a03656f39
files lisp/textmodes/bibtex.el
diffstat 1 files changed, 0 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- 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 <left-hand-side = right-hand-side>.
 The functions PARSE-LHS and PARSE-RHS are used to parse the corresponding