emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] 123/352: Kielellistä säätöä kommentteihin ja funktion kuvaukseen


From: Stefan Monnier
Subject: [elpa] 123/352: Kielellistä säätöä kommentteihin ja funktion kuvaukseen
Date: Mon, 07 Jul 2014 14:03:08 +0000

monnier pushed a commit to branch master
in repository elpa.

commit fb120cc541f5eba387e42a989130fb5c9ebf91eb
Author: Teemu Likonen <address@hidden>
Date:   Thu Jul 23 12:41:11 2009 +0000

    Kielellistä säätöä kommentteihin ja funktion kuvaukseen
    
    Korjataan kirjoitusvirhe
---
 wcheck-mode.el |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/wcheck-mode.el b/wcheck-mode.el
index 85f1ff2..991d5d1 100644
--- a/wcheck-mode.el
+++ b/wcheck-mode.el
@@ -318,8 +318,8 @@ interactively) then change the global default language."
 (define-minor-mode wcheck-mode
   "Interface for external spell-checkers and filtering programs.
 
-With optional ARG turn on the mode if ARG is positive, turn off
-if negative. if ARG is not given toggle the mode.
+With optional (prefix) ARG turn on the mode if ARG is positive,
+otherwise turn it off. If ARG is not given toggle the mode.
 
 Wcheck is a minor mode for automatically checking and marking
 words or other text elements in Emacs buffer. Wcheck sends (parts
@@ -652,7 +652,7 @@ Turn off `wcheck-mode' before changing major mode."
 (defun wcheck-start-get-process (buffer)
   "Start or get external process for BUFFER.
 Start a new process or get already existing process for BUFFER..
-Return the symbol of that particular process or nil if the
+Return the object of that particular process or nil if the
 operation was unsuccessful."
   ;; If process for this BUFFER exists return it.
   (or (wcheck-get-data :buffer buffer :process)
@@ -666,8 +666,8 @@ operation was unsuccessful."
               (wcheck-query-language-data language 'connection t))
              proc)
 
-        ;; Start the process.
         (when (wcheck-program-executable-p program)
+          ;; Start the process.
           (setq proc (apply 'start-process wcheck-process-name nil
                             program args))
           ;; Add the process Lisp object to database.
@@ -677,6 +677,7 @@ operation was unsuccessful."
           ;; Prevent Emacs from querying user about running processes
           ;; when killing Emacs.
           (set-process-query-on-exit-flag proc nil)
+          ;; Return the process object.
           proc))))
 
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]