]> git.eshelyaron.com Git - emacs.git/commitdiff
(lm-section-end): require outline.
authorRichard M. Stallman <rms@gnu.org>
Sat, 3 Jan 2004 21:14:11 +0000 (21:14 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 3 Jan 2004 21:14:11 +0000 (21:14 +0000)
lisp/emacs-lisp/lisp-mnt.el

index aeb7fb2258d06bc526c581e418b817c2adc8226e..245772dfc545a775d39a5378b7080fd58661e550 100644 (file)
@@ -214,6 +214,7 @@ The end of the section is defined as the beginning of the next
 section of the same level or lower.  The function
 `lisp-outline-level' is used to compute the level of a section.
 If no such section exists, return the end of the buffer."
+  (require 'outline)   ;; for outline-regexp.
   (let ((start (lm-section-start header)))
     (when start
       (save-excursion