commit | author | age
|
5cb5f7
|
1 |
;ELC |
C |
2 |
;;; Compiled |
|
3 |
;;; in Emacs version 26.1 |
|
4 |
;;; with all optimizations. |
|
5 |
|
|
6 |
;;; This file uses dynamic docstrings, first added in Emacs 19.29. |
|
7 |
|
|
8 |
;;; This file does not contain utf-8 non-ASCII characters, |
|
9 |
;;; and so can be loaded in Emacs versions earlier than 23. |
|
10 |
|
|
11 |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
|
12 |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
|
13 |
|
|
14 |
|
|
15 |
(require 'smartparens) |
|
16 |
#@351 Move point to the beginning of next SGML tag. |
|
17 |
|
|
18 |
With ARG positive N > 1, move N tags forward. |
|
19 |
|
|
20 |
With ARG raw prefix argument \[universal-argument] move out of |
|
21 |
the current tag and to the beginning of enclosing tag. |
|
22 |
|
|
23 |
Note: this function is based on `sp-beginning-of-sexp' but |
|
24 |
specialized to only work with SGML tags and to always move |
|
25 |
forward. |
|
26 |
|
|
27 |
(fn ARG) |
|
28 |
(defalias 'sp-html-next-tag #[257 "\301\302!\203 \303!\202 \303\304!T!)\207" [sp-prefix-tag-object t sp--raw-argument-p sp-beginning-of-sexp prefix-numeric-value] 4 (#$ . 432) "P"]) |
|
29 |
#@357 Move point to the beginning of previous SGML tag. |
|
30 |
|
|
31 |
With ARG positive N > 1, move N tags backward. |
|
32 |
|
|
33 |
With ARG raw prefix argument \[universal-argument] move out of |
|
34 |
the current tag and to the beginning of enclosing tag. |
|
35 |
|
|
36 |
Note: this function is based on `sp-beginning-of-sexp' but |
|
37 |
specialized to only work with SGML tags and to always move |
|
38 |
backward. |
|
39 |
|
|
40 |
(fn ARG) |
|
41 |
(defalias 'sp-html-previous-tag #[257 "\301\302!\203 \303!\202 \303\304![S!)\207" [sp-prefix-tag-object t sp--raw-argument-p sp-beginning-of-sexp prefix-numeric-value] 4 (#$ . 977) "P"]) |
|
42 |
#@180 Post-action hooks for `html-mode'. |
|
43 |
|
|
44 |
ID is the tag being processed, ACTION is the action and CONTEXT |
|
45 |
specifies if we are inside a string or code. |
|
46 |
|
|
47 |
(fn &optional ID ACTION CONTEXT) |
|
48 |
(defalias 'sp-html-post-handler #[768 "\302\267\202?\212\303\304 \210)\305 \211\205P \211\306\307\"\306\310\"G\\b\210\311\303\312!)\262\205N \306\313\"\306\314\"GZb\210\212\304 \210\315y\210\316 \203K \317 \320 T|\210)\321 \262\262)\207\212\305 \211\205\222 \211\306\313\"\306\314\"GZb\210\322\323!\205\220 \212\306\307\"\306\310\"G\\b\210\321 \210\324 \210\325y\210\316 \205\217 \317 \320 T|)\262\262)\207\212\303\304 \210)\305 \211\203\314 \211\306\307\"\306\310\"G\\b\210\311\303\312!)\262\203\313 \306\313\"\306\314\"GZb\210\321 \210\210\210)\212\324 \210\325y\210\316 \205\340 \317 \320 T|)\207\212\305 \211\205!\211\306\313\"\306\314\"GZb\210\322\323!\205\306\307\"\306\310\"G\\b\210\321 \210\326 \210\304 \210\315y\210\316 \205\317 \320 T|\262\262)\207\311\303\312!)\262\205@\327 \207\322\323\325\303#\205@\330 \207\325\207" [sp-prefix-pair-object inhibit-changing-match-data #s(hash-table size 6 test eql rehash-size 1.5 rehash-threshold 0.8125 purecopy t data (slurp-forward 6 slurp-backward 84 barf-forward 150 barf-backward 226 beginning-of-sexp 293 end-of-sexp 308)) t sp-backward-sexp sp-get-enclosing-sexp plist-get :beg :op "[ ]*$" looking-at :end :cl -1 sp-point-in-blank-line line-beginning-position line-end-position newline-and-indent sp--looking-back-p "^[ ]*" sp-forward-sexp nil sp-backward-up-sexp sp-next-sexp sp-previous-sexp] 9 (#$ . 1533)]) |
|
49 |
(byte-code "\301\302\303#\210\304\302\305\306\307\310\311\312&\266\313\203- @\314\315\"\266\211T\262A\262\202 \266\316\313\203K @\314\317\320\321E\"\266\211T\262A\262\2021 \266\322\323!\207" [sp--html-modes sp-local-pair "<" ">" sp-local-tag "<_>" "</_>" :transform sp-match-sgml-tags :post-handlers (sp-html-post-handler) 0 add-to-list sp-navigate-consider-sgml-tags (web-mode) sp-sexp-suffix regexp "" provide smartparens-html] 10) |