diff options
| author | Luc Teirlinck | 2005-08-06 21:59:02 +0000 |
|---|---|---|
| committer | Luc Teirlinck | 2005-08-06 21:59:02 +0000 |
| commit | 00aa417213e1668d4a86514cf5febba3e241f399 (patch) | |
| tree | 9b0fd0d4441c513e97b4e452d3bfe4f0973fcb0d | |
| parent | 622a878599fda36548525455836f1f6277de9b18 (diff) | |
| download | emacs-00aa417213e1668d4a86514cf5febba3e241f399.tar.gz emacs-00aa417213e1668d4a86514cf5febba3e241f399.zip | |
(set-fringe-indicators-1, fringe-indicators): Delete.
| -rw-r--r-- | lisp/fringe.el | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/lisp/fringe.el b/lisp/fringe.el index 1265e8308a0..853716af4d2 100644 --- a/lisp/fringe.el +++ b/lisp/fringe.el | |||
| @@ -260,43 +260,6 @@ SIDE must be the symbol `left' or `right'." | |||
| 260 | 0) | 260 | 0) |
| 261 | (float (frame-char-width)))) | 261 | (float (frame-char-width)))) |
| 262 | 262 | ||
| 263 | ;; Fake defvar. Real definition using defcustom is below. The fake | ||
| 264 | ;; defvar is necessary because `fringe-indicators' and | ||
| 265 | ;; `set-fringe-indicators-1' mutually use each other. | ||
| 266 | (defvar fringe-indicators) | ||
| 267 | |||
| 268 | (defun set-fringe-indicators-1 (ignore value) | ||
| 269 | "Set fringe indicators according to VALUE. | ||
| 270 | This is usually invoked when setting `fringe-indicators' via customize." | ||
| 271 | (setq fringe-indicators value) | ||
| 272 | (setq default-indicate-empty-lines nil) | ||
| 273 | (setq default-indicate-buffer-boundaries | ||
| 274 | (cond | ||
| 275 | ((memq value '(left right t)) | ||
| 276 | value) | ||
| 277 | ((eq value 'box) | ||
| 278 | '((top . left) (bottom . right))) | ||
| 279 | ((eq value 'mixed) | ||
| 280 | '((top . left) (t . right))) | ||
| 281 | ((eq value 'empty) | ||
| 282 | (setq default-indicate-empty-lines t) | ||
| 283 | nil) | ||
| 284 | (t nil)))) | ||
| 285 | |||
| 286 | ;;;###autoload | ||
| 287 | (defcustom fringe-indicators nil | ||
| 288 | "Visually indicate buffer boundaries and scrolling. | ||
| 289 | Setting this variable, changes `default-indicate-buffer-boundaries'." | ||
| 290 | :type '(choice (const :tag "No indicators" nil) | ||
| 291 | (const :tag "On left" left) | ||
| 292 | (const :tag "On right" right) | ||
| 293 | (const :tag "Opposite, no arrows" box) | ||
| 294 | (const :tag "Opposite, arrows right" mixed) | ||
| 295 | (const :tag "Empty lines" empty)) | ||
| 296 | :group 'fringe | ||
| 297 | :require 'fringe | ||
| 298 | :set 'set-fringe-indicators-1) | ||
| 299 | |||
| 300 | (provide 'fringe) | 263 | (provide 'fringe) |
| 301 | 264 | ||
| 302 | ;;; arch-tag: 6611ef60-0869-47ed-8b93-587ee7d3ff5d | 265 | ;;; arch-tag: 6611ef60-0869-47ed-8b93-587ee7d3ff5d |