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 |
(byte-code "\300\301!\210\302\303\304\305\306\307%\210\302\310\311\312\306\307%\210\302\313\314\315\306\307%\207" [require semantic/bovine/el custom-declare-variable srefactor-newline-threshold 40 "If a token is about to be inserted, if the current posistion\n exceeds this threshold characters, insert the token in the next\n line isntead. Note that this does not account for indentation\n but the total number of characters in a line." :group srefactor srefactor-lisp-symbol-to-skip '(("progn" . 0) ("cond" . 0) ("save-excursion" . 0) ("unwind-protect" . 0) ("with-temp-buffer" . 0) ("defmethod" . 1) ("cons" . 2) ("kill-region" . 2) ("equal" . 2) ("member" . 2) ("eq?" . 2) ("eq" . 2) ("get" . 2) ("assoc" . 2) ("defun" . 2) ("defclass" . 2) ("defstruct" . 2) ("defmacro" . 2) ("defsubst" . 2) ("defface" . 2) ("defalias" . 2) ("defcustom" . 2) ("declare" . 2) ("defvar" . 2) ("defparameter" . 2) ("defconst" . 2) ("string-match" . 2) ("defcustom" . 2) ("setq" . 2) ("setq-default" . 2) ("member" . 2) ("setf" . 2) (">" . 2) ("<" . 2) ("<=" . 2) (">=" . 2) ("/=" . 2) ("=" . 2) ("some" . 2) ("define-key" . 3) ("modify-syntax-entry" . 3)) "A list of pairs of a symbol and a number that denotes how many\n sexp to skip before inserting the first newline. " srefactor-clojure-symbol-to-skip '(("fn" . 1) ("ns" . 1) (":require" . 1) (":import" . 1) ("def" . 2) ("struct-map" . 1) ("defmacro" . 1) ("binding" . 1) ("with-bindings" . 1) ("doseq" . 1) ("catch" . 2) ("defn" . 2)) "A list of pairs of a symbol and a number that denotes how many\n sexp to skip before inserting a newline. This will be merged\n with `srefactor-lisp-symbol-to-skip'. Symbols in this list\n overrides symbols in `srefactor-lisp-symbol-to-skip'."] 6) |
|
16 |
(defvar token nil) |
|
17 |
(defvar token-type nil) |
|
18 |
(defvar token-str nil) |
|
19 |
(defvar ignore-num nil) |
|
20 |
(defvar tok-start nil) |
|
21 |
(defvar next-token nil) |
|
22 |
(defvar next-token-start nil) |
|
23 |
(defvar next-token-end nil) |
|
24 |
(defvar next-token-type nil) |
|
25 |
(defvar next-token-str nil) |
|
26 |
(defvar tok-end nil) |
|
27 |
(defvar cur-buf nil) |
|
28 |
(defvar first-token nil) |
|
29 |
(defvar first-token-name nil) |
|
30 |
(defvar second-token nil) |
|
31 |
(defvar lexemes nil) |
|
32 |
(defvar comment-token nil) |
|
33 |
(defvar comment-content nil) |
|
34 |
(defvar token-real-line nil) |
|
35 |
(defvar next-token-real-line nil) |
|
36 |
(defvar comment-real-line-start nil) |
|
37 |
(defvar comment-real-line-end nil) |
|
38 |
(defvar comment-token-start nil) |
|
39 |
(defvar comment-token-end nil) |
|
40 |
(defvar format-type nil) |
|
41 |
(defvar recursive-p nil) |
|
42 |
(defvar orig-format-type nil) |
|
43 |
(defalias 'srefactor--appropriate-major-mode #[(major-mode) "\301=\203 |