diff options
| author | Kim F. Storm | 2006-02-20 22:14:47 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2006-02-20 22:14:47 +0000 |
| commit | 702c663fa74688f495cd31352cbe53040fe08b55 (patch) | |
| tree | 895d837c929c5f0f56c784272847aa35178b13cf | |
| parent | 7840b33201200c96ee2e81b093312c80ecffd053 (diff) | |
| download | emacs-702c663fa74688f495cd31352cbe53040fe08b55.tar.gz emacs-702c663fa74688f495cd31352cbe53040fe08b55.zip | |
(fringe-bitmaps): Update to new bitmap names.
(fringe-indicator-alist, fringe-cursor-alist): Initialize.
| -rw-r--r-- | lisp/fringe.el | 35 |
1 files changed, 28 insertions, 7 deletions
diff --git a/lisp/fringe.el b/lisp/fringe.el index fd9e70b5846..14ce045e683 100644 --- a/lisp/fringe.el +++ b/lisp/fringe.el | |||
| @@ -50,23 +50,44 @@ | |||
| 50 | 50 | ||
| 51 | (unless (or (not (boundp 'fringe-bitmaps)) | 51 | (unless (or (not (boundp 'fringe-bitmaps)) |
| 52 | (get 'left-truncation 'fringe)) | 52 | (get 'left-truncation 'fringe)) |
| 53 | (let ((bitmaps '(left-truncation right-truncation | 53 | (let ((bitmaps '(question-mark |
| 54 | up-arrow down-arrow | 54 | left-arrow right-arrow up-arrow down-arrow |
| 55 | continued-line continuation-line | 55 | left-curly-arrow right-curly-arrow |
| 56 | overlay-arrow | 56 | left-triangle right-triangle |
| 57 | top-left-angle top-right-angle | 57 | top-left-angle top-right-angle |
| 58 | bottom-left-angle bottom-right-angle | 58 | bottom-left-angle bottom-right-angle |
| 59 | left-bracket right-bracket | 59 | left-bracket right-bracket |
| 60 | filled-box-cursor hollow-box-cursor hollow-square | 60 | filled-rectangle hollow-rectangle |
| 61 | bar-cursor hbar-cursor | 61 | filled-square hollow-square |
| 62 | vertical-bar horisontal-bar | ||
| 62 | empty-line)) | 63 | empty-line)) |
| 63 | (bn 2)) | 64 | (bn 1)) |
| 64 | (while bitmaps | 65 | (while bitmaps |
| 65 | (push (car bitmaps) fringe-bitmaps) | 66 | (push (car bitmaps) fringe-bitmaps) |
| 66 | (put (car bitmaps) 'fringe bn) | 67 | (put (car bitmaps) 'fringe bn) |
| 67 | (setq bitmaps (cdr bitmaps) | 68 | (setq bitmaps (cdr bitmaps) |
| 68 | bn (1+ bn))))) | 69 | bn (1+ bn))))) |
| 69 | 70 | ||
| 71 | (setq-default fringe-indicator-alist | ||
| 72 | '((truncation . (left-arrow right-arrow)) | ||
| 73 | (continuation . (left-curly-arrow right-curly-arrow)) | ||
| 74 | (overlay-arrow . right-triangle) | ||
| 75 | (up . up-arrow) | ||
| 76 | (down . down-arrow) | ||
| 77 | (top . (top-left-angle top-right-angle)) | ||
| 78 | (bottom . (bottom-left-angle bottom-right-angle | ||
| 79 | top-right-angle top-left-angle)) | ||
| 80 | (top-bottom . (left-bracket right-bracket | ||
| 81 | top-right-angle top-left-angle)) | ||
| 82 | (empty-line . empty-line) | ||
| 83 | (unknown . question-mark))) | ||
| 84 | |||
| 85 | (setq-default fringe-cursor-alist | ||
| 86 | '((box . filled-rectangle) | ||
| 87 | (hollow . hollow-rectangle) | ||
| 88 | (bar . vertical-bar) | ||
| 89 | (hbar . horisontal-bar) | ||
| 90 | (hollow-small . hollow-square))) | ||
| 70 | 91 | ||
| 71 | ;; Control presence of fringes | 92 | ;; Control presence of fringes |
| 72 | 93 | ||