aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2019-12-07 11:50:14 +0200
committerEli Zaretskii2019-12-07 11:50:14 +0200
commitc574d27464b583b295afca72b3c06d1d601b5448 (patch)
tree66756ae5c0f695a4fc0823b0390ba77eba9d6c66
parent89a4488f8950c52b6e3fd8b780761ede87b518fd (diff)
downloademacs-c574d27464b583b295afca72b3c06d1d601b5448.tar.gz
emacs-c574d27464b583b295afca72b3c06d1d601b5448.zip
Fix documentation of '-position' server command
* lisp/server.el (server-process-filter): Fix the description of "-position" command to match the reality. (Bug#38443)
-rw-r--r--lisp/server.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/server.el b/lisp/server.el
index 14114c8b3aa..2bd6c168520 100644
--- a/lisp/server.el
+++ b/lisp/server.el
@@ -988,7 +988,7 @@ The following commands are accepted by the server:
988`-display DISPLAY' 988`-display DISPLAY'
989 Set the display name to open X frames on. 989 Set the display name to open X frames on.
990 990
991`-position LINE[:COLUMN]' 991`-position +LINE[:COLUMN]'
992 Go to the given line and column number 992 Go to the given line and column number
993 in the next file opened. 993 in the next file opened.
994 994
@@ -1184,7 +1184,7 @@ The following commands are accepted by the client:
1184 (eq window-system 'w32))) 1184 (eq window-system 'w32)))
1185 (push "-window-system" args-left))) 1185 (push "-window-system" args-left)))
1186 1186
1187 ;; -position LINE[:COLUMN]: Set point to the given 1187 ;; -position +LINE[:COLUMN]: Set point to the given
1188 ;; position in the next file. 1188 ;; position in the next file.
1189 ("-position" 1189 ("-position"
1190 (if (not (string-match "\\+\\([0-9]+\\)\\(?::\\([0-9]+\\)\\)?" 1190 (if (not (string-match "\\+\\([0-9]+\\)\\(?::\\([0-9]+\\)\\)?"