-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflymake-cursor.elc
45 lines (38 loc) · 3.68 KB
/
flymake-cursor.elc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
;ELC
;;; Compiled by shant@ultraio on Sat Sep 27 19:36:32 2014
;;; from file /home/shant/.emacs.d/flymake-cursor.el
;;; in Emacs version 24.3.1
;;; with all optimizations.
;;; This file uses dynamic docstrings, first added in Emacs 19.29.
;;; This file does not contain utf-8 non-ASCII characters,
;;; and so can be loaded in Emacs versions earlier than 23.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(require 'cl)
#@36 Error at point, after last command
(defvar flyc--e-at-point nil (#$ . 522))
#@63 A timer; when it fires, it displays the stored error message.
(defvar flyc--e-display-timer nil (#$ . 604))
#@103 pyflake is flakey if it has compile problems, this adjusts the
message to display, so there is one ;)
(defalias 'flyc/maybe-fixup-message #[(errore) "\303=\206 \304=\206 \305?\206K \306H\n>\204 \307\310\311\312#\210 \313H\2047 \306H\n>\2043 \307\310\314\312#\210 \315H\207\316\317 \306H\n>\204G \307\310\320\312#\210 \321H\"\207" [major-mode errore cl-struct-flymake-ler-tags Python python-mode t 0 error "%s accessing a non-%s" flymake-ler-file flymake-ler 1 flymake-ler-text 4 format "compile error, problem on line %s" flymake-ler-line 2] 6 (#$ . 719)])
#@46 Displays the stored error in the minibuffer.
(defalias 'flyc/show-stored-error-now #[nil "\303 \304U \205 \205 \305\306\307 !\"\210\310\211)\207" [editing-p flyc--e-at-point flyc--e-display-timer minibuffer-depth 0 message "%s" flyc/maybe-fixup-message nil] 4 (#$ . 1289) nil])
#@52 Gets the first flymake error on the line at point.
(defalias 'flyc/-get-error-at-point #[nil "\306 \307\n\307\211\203&