[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 122/352: Poistetaan turha roina funktiosta wcheck-send-words
From: |
Stefan Monnier |
Subject: |
[elpa] 122/352: Poistetaan turha roina funktiosta wcheck-send-words |
Date: |
Mon, 07 Jul 2014 14:03:08 +0000 |
monnier pushed a commit to branch master
in repository elpa.
commit 850b48bcd955cfd1c72b5fb5212bc2c0c59ad543
Author: Teemu Likonen <address@hidden>
Date: Thu Jul 23 12:40:51 2009 +0000
Poistetaan turha roina funktiosta wcheck-send-words
---
wcheck-mode.el | 18 +++++++-----------
1 files changed, 7 insertions(+), 11 deletions(-)
diff --git a/wcheck-mode.el b/wcheck-mode.el
index 6bcffd9..85f1ff2 100644
--- a/wcheck-mode.el
+++ b/wcheck-mode.el
@@ -789,17 +789,13 @@ elements between BEG and END; all hidden parts are
omitted."
words)))))
-(defun wcheck-send-words (buffer wordlist)
- "Send WORDLIST for the process that handles BUFFER.
-WORDLIST is a list of strings to be sent as input for the
-external process which handles BUFFER. Each string in WORDLIST is
-sent as separate line."
- (let* ((language (wcheck-get-data :buffer buffer :language))
- (proc (wcheck-start-get-process buffer))
- string)
- (setq string (concat (mapconcat #'identity wordlist "\n") "\n"))
- (process-send-string proc string)
- string))
+(defun wcheck-send-words (buffer strings)
+ "Send STRINGS for the process that handles BUFFER.
+STRINGS is a list of strings to be sent as input for the external
+process which handles BUFFER. Each string in STRINGS is sent as
+separate line."
+ (process-send-string (wcheck-start-get-process buffer)
+ (concat (mapconcat #'identity strings "\n") "\n")))
(defun wcheck-paint-words (buffer beg end wordlist)
- [elpa] 298/352: Update link to README.org, (continued)
- [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, 2014/07/07
- [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 <=
- [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
- [elpa] 311/352: Add full licence text (COPYING), Stefan Monnier, 2014/07/07
- [elpa] 209/352: wcheck-define-condition-makroon lisää automatiikkaa, Stefan Monnier, 2014/07/07
- [elpa] 151/352: Uusi ominaisuus: mahdollisuus lukea vain tiettyjä alueita puskurista, Stefan Monnier, 2014/07/07
- [elpa] 325/352: Archive README.org too in elpa tar package, Stefan Monnier, 2014/07/07
- [elpa] 334/352: Mention ~/.emacs.d/init.el too as one of the Emacs init files, Stefan Monnier, 2014/07/07
- [elpa] 157/352: Lisätään predikaattifunktio wcheck-list-of-strings-p, Stefan Monnier, 2014/07/07
- [elpa] 166/352: Varmatoimisempi wcheck-choose-suggestion-minibuffer, Stefan Monnier, 2014/07/07