]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix documentation of '-position' server command
authorEli Zaretskii <eliz@gnu.org>
Sat, 7 Dec 2019 09:50:14 +0000 (11:50 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sat, 7 Dec 2019 09:50:14 +0000 (11:50 +0200)
* lisp/server.el (server-process-filter): Fix the description
of "-position" command to match the reality.  (Bug#38443)

lisp/server.el

index 14114c8b3aafc1fca510a497ec5b38f54584a8a1..2bd6c168520b0b5f743d6bc84fad0eba1b130a87 100644 (file)
@@ -988,7 +988,7 @@ The following commands are accepted by the server:
 `-display DISPLAY'
   Set the display name to open X frames on.
 
-`-position LINE[:COLUMN]'
+`-position +LINE[:COLUMN]'
   Go to the given line and column number
   in the next file opened.
 
@@ -1184,7 +1184,7 @@ The following commands are accepted by the client:
                                 (eq window-system 'w32)))
                    (push "-window-system" args-left)))
 
-                ;; -position LINE[:COLUMN]:  Set point to the given
+                ;; -position +LINE[:COLUMN]:  Set point to the given
                 ;;  position in the next file.
                 ("-position"
                  (if (not (string-match "\\+\\([0-9]+\\)\\(?::\\([0-9]+\\)\\)?"