Search for Syntax section when viewing MDN
* lisp/textmodes/css-mode.el (css--mdn-after-render): Also search for "Syntax" section.
This commit is contained in:
parent
9d101376b4
commit
48d39c39e8
1 changed files with 1 additions and 1 deletions
|
@ -1578,7 +1578,7 @@ to look up will be substituted there."
|
|||
(goto-char (point-min))
|
||||
(let ((window (get-buffer-window (current-buffer) 'visible)))
|
||||
(when window
|
||||
(when (re-search-forward "^Summary" nil 'move)
|
||||
(when (re-search-forward "^\\(Summary\\|Syntax\\)" nil 'move)
|
||||
(beginning-of-line)
|
||||
(set-window-start window (point))))))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue