diff options
author | Roland Winkler <Roland.Winkler@physik.uni-erlangen.de> | 2008-02-25 19:49:23 +0000 |
---|---|---|
committer | Roland Winkler <Roland.Winkler@physik.uni-erlangen.de> | 2008-02-25 19:49:23 +0000 |
commit | 5fe5075b03a7746a55232d79af61976fb6915a24 (patch) | |
tree | 91f7035d068eeb607d2cdc63b0abc55f364fd4d9 /lisp/textmodes | |
parent | 13cda5f9e546fa6e8fcd5bd76fff43506da95863 (diff) | |
download | emacs-5fe5075b03a7746a55232d79af61976fb6915a24.tar.gz |
* 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.
Diffstat (limited to 'lisp/textmodes')
-rw-r--r-- | lisp/textmodes/bibtex.el | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/lisp/textmodes/bibtex.el b/lisp/textmodes/bibtex.el index 02139bd37d9..21d854ce3a6 100644 --- a/lisp/textmodes/bibtex.el +++ b/lisp/textmodes/bibtex.el @@ -1291,19 +1291,6 @@ Auto-generated from `bibtex-sort-entry-class'. 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 |