diff options
| author | Glenn Morris | 2008-04-22 02:55:30 +0000 |
|---|---|---|
| committer | Glenn Morris | 2008-04-22 02:55:30 +0000 |
| commit | 1ed216dbe4fa2e0d83799c6c4bcdde2e8b2b2bfe (patch) | |
| tree | 29445cf9f5806e847f668e89d9b429073c58e93e | |
| parent | 8bb4ed88c3cfcd4d6079cdc12dccac1c81fd0885 (diff) | |
| download | emacs-1ed216dbe4fa2e0d83799c6c4bcdde2e8b2b2bfe.tar.gz emacs-1ed216dbe4fa2e0d83799c6c4bcdde2e8b2b2bfe.zip | |
(whitespace-display-table, whitespace-display-table-was-local):
Move definitions before use.
| -rw-r--r-- | lisp/whitespace.el | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/lisp/whitespace.el b/lisp/whitespace.el index 6a29eb258e5..326621e9c4c 100644 --- a/lisp/whitespace.el +++ b/lisp/whitespace.el | |||
| @@ -2059,6 +2059,11 @@ options are valid." | |||
| 2059 | (cons sym the-list)))))) | 2059 | (cons sym the-list)))))) |
| 2060 | the-list) | 2060 | the-list) |
| 2061 | 2061 | ||
| 2062 | (defvar whitespace-display-table nil | ||
| 2063 | "Used to save a local display table.") | ||
| 2064 | |||
| 2065 | (defvar whitespace-display-table-was-local nil | ||
| 2066 | "Used to remember whether a buffer initially had a local display table.") | ||
| 2062 | 2067 | ||
| 2063 | (defun whitespace-turn-on () | 2068 | (defun whitespace-turn-on () |
| 2064 | "Turn on whitespace visualization." | 2069 | "Turn on whitespace visualization." |
| @@ -2264,13 +2269,6 @@ options are valid." | |||
| 2264 | ;;;; Hacked from visws.el (Miles Bader <miles@gnu.org>) | 2269 | ;;;; Hacked from visws.el (Miles Bader <miles@gnu.org>) |
| 2265 | 2270 | ||
| 2266 | 2271 | ||
| 2267 | (defvar whitespace-display-table nil | ||
| 2268 | "Used to save a local display table.") | ||
| 2269 | |||
| 2270 | (defvar whitespace-display-table-was-local nil | ||
| 2271 | "Used to remember whether a buffer initially had a local display table.") | ||
| 2272 | |||
| 2273 | |||
| 2274 | (defsubst whitespace-char-valid-p (char) | 2272 | (defsubst whitespace-char-valid-p (char) |
| 2275 | ;; This check should be improved!!! | 2273 | ;; This check should be improved!!! |
| 2276 | (or (< char 256) | 2274 | (or (< char 256) |