[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 128/352: Siirretään funktion wcheck-receive-words paikkaa
From: |
Stefan Monnier |
Subject: |
[elpa] 128/352: Siirretään funktion wcheck-receive-words paikkaa |
Date: |
Mon, 07 Jul 2014 14:03:11 +0000 |
monnier pushed a commit to branch master
in repository elpa.
commit a052de66b1c8e9535e4ff6f303223ab4c3646608
Author: Teemu Likonen <address@hidden>
Date: Sat Jul 25 11:09:31 2009 +0000
Siirretään funktion wcheck-receive-words paikkaa
Nyt tämä sekä ajastinfunktiot sijaitsevat loogisessa järjestyksessä sen
suhteen, miten funktioita kutsutaan oikoluvun ollessa käynnissä.
---
wcheck-mode.el | 38 +++++++++++++++++++-------------------
1 files changed, 19 insertions(+), 19 deletions(-)
diff --git a/wcheck-mode.el b/wcheck-mode.el
index ccb8821..acbbca8 100644
--- a/wcheck-mode.el
+++ b/wcheck-mode.el
@@ -477,6 +477,25 @@ in buffers."
3))
+(defun wcheck-receive-words (process string)
+ "`wcheck-mode' process output handler function."
+ (let ((buffer (wcheck-get-data :process process :buffer)))
+ (when (buffer-live-p buffer)
+ (with-current-buffer buffer
+
+ ;; If process is running proceed to collect and paint the words.
+ (if (eq 'run (process-status process))
+ (progn (setq wcheck-received-words
+ (append wcheck-received-words
+ (split-string string "\n+" t)))
+ (wcheck-timer-add-paint-request buffer))
+
+ ;; It's not running. Turn off the mode.
+ (wcheck-mode -1)
+ (message "Process is not running for buffer \"%s\""
+ (buffer-name buffer)))))))
+
+
(defun wcheck-timer-paint-event (&optional repeat)
"Mark text in windows.
@@ -516,25 +535,6 @@ call. The delay between consecutive calls is defined in
variable
(1- repeat))))
-(defun wcheck-receive-words (process string)
- "`wcheck-mode' process output handler function."
- (let ((buffer (wcheck-get-data :process process :buffer)))
- (when (buffer-live-p buffer)
- (with-current-buffer buffer
-
- ;; If process is running proceed to collect and paint the words.
- (if (eq 'run (process-status process))
- (progn (setq wcheck-received-words
- (append wcheck-received-words
- (split-string string "\n+" t)))
- (wcheck-timer-add-paint-request buffer))
-
- ;; It's not running. Turn off the mode.
- (wcheck-mode -1)
- (message "Process is not running for buffer \"%s\""
- (buffer-name buffer)))))))
-
-
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; Hooks
- [elpa] 172/352: Lisätään autoload-komento alun asennusohjeisiin (-spelling-suggestions), (continued)
- [elpa] 172/352: Lisätään autoload-komento alun asennusohjeisiin (-spelling-suggestions), Stefan Monnier, 2014/07/07
- [elpa] 348/352: Enchant must be restarted after calling enchant-add-to-dictionary, Stefan Monnier, 2014/07/07
- [elpa] 338/352: Silence byte-compiler warning about SHOW-ENTRY function, Stefan Monnier, 2014/07/07
- [elpa] 297/352: Remove "A" from the README file's subtitle, Stefan Monnier, 2014/07/07
- [elpa] 304/352: A minor document fix, Stefan Monnier, 2014/07/07
- [elpa] 211/352: Hiotaan vielä oikolukuehdotusten ohjelmavirheenkäsittelyä, Stefan Monnier, 2014/07/07
- [elpa] 126/352: Parannetaan virhetilanteiden tarkistusta ja virheilmoituksia, Stefan Monnier, 2014/07/07
- [elpa] 298/352: Update link to README.org, Stefan Monnier, 2014/07/07
- [elpa] 350/352: Use PUSH instead of ADD-TO-LIST, Stefan Monnier, 2014/07/07
- [elpa] 213/352: Poistetaan ylimääräinen parametri signal-funktiolta, Stefan Monnier, 2014/07/07
- [elpa] 128/352: Siirretään funktion wcheck-receive-words paikkaa,
Stefan Monnier <=
- [elpa] 127/352: Siirretään ylläpitotehtäviä funktioon, jossa niitä muutenkin tehdään, Stefan Monnier, 2014/07/07
- [elpa] 196/352: Uusi macro: wcheck-with-language-data, Stefan Monnier, 2014/07/07
- [elpa] 330/352: Add hyperlinks to Emacs, Flyspell and Speck mode, Stefan Monnier, 2014/07/07
- [elpa] 300/352: Simplify the customize code of wcheck-language-data, Stefan Monnier, 2014/07/07
- [elpa] 328/352: Add another <>'s around the email address, Stefan Monnier, 2014/07/07
- [elpa] 146/352: Käytetään #'-lukijamakroa funktion edessä, Stefan Monnier, 2014/07/07
- [elpa] 122/352: Poistetaan turha roina funktiosta wcheck-send-words, Stefan Monnier, 2014/07/07
- [elpa] 143/352: Sallitaan connection-argumentille arvoksi sekä "t" että "pty", Stefan Monnier, 2014/07/07
- [elpa] 289/352: Merge branch 'action-autoselect', Stefan Monnier, 2014/07/07
- [elpa] 309/352: Version 2012.01.29 (update copyrights too), Stefan Monnier, 2014/07/07