aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/term
diff options
context:
space:
mode:
authorJuanma Barranquero2014-03-21 02:12:57 +0100
committerJuanma Barranquero2014-03-21 02:12:57 +0100
commitdada060d9f65ce57fca99bef6e5a69ee88e126cf (patch)
treedc7777479a3e08d9cf4c2de5941c8882aa2b9e4e /lisp/term
parent1271626ab5d345cdfcd9aca1c528f6ed6152ef96 (diff)
downloademacs-dada060d9f65ce57fca99bef6e5a69ee88e126cf.tar.gz
emacs-dada060d9f65ce57fca99bef6e5a69ee88e126cf.zip
lisp/*.el: Fix typos.
* lisp/align.el (align-regexp): Remove superfluous backslash. * lisp/ffap.el (ffap-ftp-default-user, ffap-url-regexp) (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix) (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp): Fix docstring typos. (ffap-next): Use C-u in docstring. (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist) (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask): Remove superfluous backslashes. (ffap-string-at-point): Reflow docstring. * lisp/server.el (server-host): Reflow docstring. (server-unload-function): Fix docstring typo. (server-eval-at): Remove superfluous backslash. * lisp/skeleton.el (skeleton-insert): Remove superfluous backslash. (skeleton-insert): Doc fix. (skeleton-insert): Reflow docstring. * lisp/term/tty-colors.el (tty-color-alist, tty-modify-color-alist) (tty-color-approximate, tty-color-by-index, tty-color-values) (tty-color-desc): Remove superfluous backslashes.
Diffstat (limited to 'lisp/term')
-rw-r--r--lisp/term/tty-colors.el14
1 files changed, 7 insertions, 7 deletions
diff --git a/lisp/term/tty-colors.el b/lisp/term/tty-colors.el
index 60be0a40f58..7e53a98d02a 100644
--- a/lisp/term/tty-colors.el
+++ b/lisp/term/tty-colors.el
@@ -771,7 +771,7 @@
771 "Return an alist of colors supported by FRAME's terminal. 771 "Return an alist of colors supported by FRAME's terminal.
772FRAME defaults to the selected frame. 772FRAME defaults to the selected frame.
773Each element of the returned alist is of the form: 773Each element of the returned alist is of the form:
774 \(NAME INDEX R G B\) 774 (NAME INDEX R G B)
775where NAME is the name of the color, a string; 775where NAME is the name of the color, a string;
776INDEX is the index of this color to be sent to the terminal driver 776INDEX is the index of this color to be sent to the terminal driver
777when the color should be displayed; it is typically a small integer; 777when the color should be displayed; it is typically a small integer;
@@ -785,10 +785,10 @@ color."
785 785
786(defun tty-modify-color-alist (elt &optional frame) 786(defun tty-modify-color-alist (elt &optional frame)
787 "Put the association ELT into the alist of terminal colors for FRAME. 787 "Put the association ELT into the alist of terminal colors for FRAME.
788ELT should be of the form \(NAME INDEX R G B\) (see `tty-color-alist' 788ELT should be of the form (NAME INDEX R G B) (see `tty-color-alist'
789for details). 789for details).
790If the association for NAME already exists in the color alist, it is 790If the association for NAME already exists in the color alist, it is
791modified to specify \(INDEX R G B\) as its cdr. Otherwise, ELT is 791modified to specify (INDEX R G B) as its cdr. Otherwise, ELT is
792appended to the end of the color alist. 792appended to the end of the color alist.
793If FRAME is unspecified or nil, it defaults to the selected frame. 793If FRAME is unspecified or nil, it defaults to the selected frame.
794Value is the modified color alist for FRAME." 794Value is the modified color alist for FRAME."
@@ -856,7 +856,7 @@ of gray, thus the name."
856 856
857(defun tty-color-approximate (rgb &optional frame) 857(defun tty-color-approximate (rgb &optional frame)
858 "Find the color in `tty-color-alist' that best approximates RGB. 858 "Find the color in `tty-color-alist' that best approximates RGB.
859Value is a list of the form \(NAME INDEX R G B\). 859Value is a list of the form (NAME INDEX R G B).
860The argument RGB should be an rgb value, that is, a list of three 860The argument RGB should be an rgb value, that is, a list of three
861integers in the 0..65535 range. 861integers in the 0..65535 range.
862FRAME defaults to the selected frame." 862FRAME defaults to the selected frame."
@@ -981,7 +981,7 @@ If FRAME is unspecified or nil, it defaults to the selected frame."
981 "Given a numeric index of a tty color, return its description. 981 "Given a numeric index of a tty color, return its description.
982 982
983FRAME, if unspecified or nil, defaults to the selected frame. 983FRAME, if unspecified or nil, defaults to the selected frame.
984Value is a list of the form \(NAME INDEX R G B\)." 984Value is a list of the form (NAME INDEX R G B)."
985 (and idx 985 (and idx
986 (let ((colors (tty-color-alist frame)) 986 (let ((colors (tty-color-alist frame))
987 desc found) 987 desc found)
@@ -997,14 +997,14 @@ Value is a list of the form \(NAME INDEX R G B\)."
997 997
998If COLOR is not directly supported by the display, return the RGB 998If COLOR is not directly supported by the display, return the RGB
999values for a supported color that is its best approximation. 999values for a supported color that is its best approximation.
1000The value is a list of integer RGB values--\(RED GREEN BLUE\). 1000The value is a list of integer RGB values--(RED GREEN BLUE).
1001These values range from 0 to 65535; white is (65535 65535 65535). 1001These values range from 0 to 65535; white is (65535 65535 65535).
1002If FRAME is omitted or nil, use the selected frame." 1002If FRAME is omitted or nil, use the selected frame."
1003 (cddr (tty-color-desc color frame))) 1003 (cddr (tty-color-desc color frame)))
1004 1004
1005(defun tty-color-desc (color &optional frame) 1005(defun tty-color-desc (color &optional frame)
1006 "Return the description of the color COLOR for a character terminal. 1006 "Return the description of the color COLOR for a character terminal.
1007Value is a list of the form \(NAME INDEX R G B\). The returned NAME or 1007Value is a list of the form (NAME INDEX R G B). The returned NAME or
1008RGB value may not be the same as the argument COLOR, because the latter 1008RGB value may not be the same as the argument COLOR, because the latter
1009might need to be approximated if it is not supported directly." 1009might need to be approximated if it is not supported directly."
1010 (and (stringp color) 1010 (and (stringp color)