diff options
| author | Juanma Barranquero | 2014-03-21 02:12:57 +0100 |
|---|---|---|
| committer | Juanma Barranquero | 2014-03-21 02:12:57 +0100 |
| commit | dada060d9f65ce57fca99bef6e5a69ee88e126cf (patch) | |
| tree | dc7777479a3e08d9cf4c2de5941c8882aa2b9e4e /lisp/term | |
| parent | 1271626ab5d345cdfcd9aca1c528f6ed6152ef96 (diff) | |
| download | emacs-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.el | 14 |
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. |
| 772 | FRAME defaults to the selected frame. | 772 | FRAME defaults to the selected frame. |
| 773 | Each element of the returned alist is of the form: | 773 | Each element of the returned alist is of the form: |
| 774 | \(NAME INDEX R G B\) | 774 | (NAME INDEX R G B) |
| 775 | where NAME is the name of the color, a string; | 775 | where NAME is the name of the color, a string; |
| 776 | INDEX is the index of this color to be sent to the terminal driver | 776 | INDEX is the index of this color to be sent to the terminal driver |
| 777 | when the color should be displayed; it is typically a small integer; | 777 | when 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. |
| 788 | ELT should be of the form \(NAME INDEX R G B\) (see `tty-color-alist' | 788 | ELT should be of the form (NAME INDEX R G B) (see `tty-color-alist' |
| 789 | for details). | 789 | for details). |
| 790 | If the association for NAME already exists in the color alist, it is | 790 | If the association for NAME already exists in the color alist, it is |
| 791 | modified to specify \(INDEX R G B\) as its cdr. Otherwise, ELT is | 791 | modified to specify (INDEX R G B) as its cdr. Otherwise, ELT is |
| 792 | appended to the end of the color alist. | 792 | appended to the end of the color alist. |
| 793 | If FRAME is unspecified or nil, it defaults to the selected frame. | 793 | If FRAME is unspecified or nil, it defaults to the selected frame. |
| 794 | Value is the modified color alist for FRAME." | 794 | Value 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. |
| 859 | Value is a list of the form \(NAME INDEX R G B\). | 859 | Value is a list of the form (NAME INDEX R G B). |
| 860 | The argument RGB should be an rgb value, that is, a list of three | 860 | The argument RGB should be an rgb value, that is, a list of three |
| 861 | integers in the 0..65535 range. | 861 | integers in the 0..65535 range. |
| 862 | FRAME defaults to the selected frame." | 862 | FRAME 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 | ||
| 983 | FRAME, if unspecified or nil, defaults to the selected frame. | 983 | FRAME, if unspecified or nil, defaults to the selected frame. |
| 984 | Value is a list of the form \(NAME INDEX R G B\)." | 984 | Value 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 | ||
| 998 | If COLOR is not directly supported by the display, return the RGB | 998 | If COLOR is not directly supported by the display, return the RGB |
| 999 | values for a supported color that is its best approximation. | 999 | values for a supported color that is its best approximation. |
| 1000 | The value is a list of integer RGB values--\(RED GREEN BLUE\). | 1000 | The value is a list of integer RGB values--(RED GREEN BLUE). |
| 1001 | These values range from 0 to 65535; white is (65535 65535 65535). | 1001 | These values range from 0 to 65535; white is (65535 65535 65535). |
| 1002 | If FRAME is omitted or nil, use the selected frame." | 1002 | If 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. |
| 1007 | Value is a list of the form \(NAME INDEX R G B\). The returned NAME or | 1007 | Value is a list of the form (NAME INDEX R G B). The returned NAME or |
| 1008 | RGB value may not be the same as the argument COLOR, because the latter | 1008 | RGB value may not be the same as the argument COLOR, because the latter |
| 1009 | might need to be approximated if it is not supported directly." | 1009 | might need to be approximated if it is not supported directly." |
| 1010 | (and (stringp color) | 1010 | (and (stringp color) |