aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/cedet/semantic/html.el12
1 files changed, 6 insertions, 6 deletions
diff --git a/lisp/cedet/semantic/html.el b/lisp/cedet/semantic/html.el
index 718ce3c4c74..00e19dbc892 100644
--- a/lisp/cedet/semantic/html.el
+++ b/lisp/cedet/semantic/html.el
@@ -82,6 +82,11 @@ or
82 tag :members (mapcar #'semantic-html-expand-tag chil))) 82 tag :members (mapcar #'semantic-html-expand-tag chil)))
83 (car (semantic--tag-expand tag)))) 83 (car (semantic--tag-expand tag))))
84 84
85(define-mode-local-override semantic-tag-components html-mode (tag)
86 "Return components belonging to TAG."
87 ;; Keep this η-regexp because `semantic-html-components' is called
88 ;; from elsewhere.
89 (semantic-html-components tag))
85(defun semantic-html-components (tag) 90(defun semantic-html-components (tag)
86 "Return components belonging to TAG." 91 "Return components belonging to TAG."
87 (semantic-tag-get-attribute tag :members)) 92 (semantic-tag-get-attribute tag :members))
@@ -245,12 +250,7 @@ tag with greater section value than LEVEL is found."
245 senator-step-at-start-end-tag-classes '(section) 250 senator-step-at-start-end-tag-classes '(section)
246 senator-step-at-tag-classes '(section) 251 senator-step-at-tag-classes '(section)
247 semantic-stickyfunc-sticky-classes '(section) 252 semantic-stickyfunc-sticky-classes '(section)
248 ) 253 ))
249 (semantic-install-function-overrides
250 '((semantic-tag-components . semantic-html-components)
251 )
252 t)
253 )
254 254
255;; `html-helper-mode' hasn't been updated since 2004, so it's not very 255;; `html-helper-mode' hasn't been updated since 2004, so it's not very
256;; relevant nowadays. 256;; relevant nowadays.