diff options
author | Simon Josefsson <[email protected]> | 2002-05-25 23:14:11 +0000 |
---|---|---|
committer | Simon Josefsson <[email protected]> | 2002-05-25 23:14:11 +0000 |
commit | 19c8fe7542695ff68462a2412f5ebb0bdd4f8342 (patch) | |
tree | 5518765344ae73753b768be25acccdd904fbdedb /lisp | |
parent | 280b8e5990d077b6152965d9f180bdd8ff1c29c0 (diff) |
(fringe-query-style): New fringe style "minimal".
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/ChangeLog | 4 | ||||
-rw-r--r-- | lisp/fringe.el | 19 |
2 files changed, 14 insertions, 9 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 4972523657..a92edd214e 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2002-05-26 Simon Josefsson <[email protected]> + + * fringe.el (fringe-query-style): New fringe style "minimal". + 2002-05-24 Simon Josefsson <[email protected]> * rot13.el (rot13-translate-table): New variable. diff --git a/lisp/fringe.el b/lisp/fringe.el index 67dae5c1b4..5a4dce128c 100644 --- a/lisp/fringe.el +++ b/lisp/fringe.el @@ -115,13 +115,14 @@ frame parameter is used." (let ((mode (intern (completing-read "Select fringe mode for all frames (SPACE for list): " '(("none") ("default") ("left-only") - ("right-only") ("half")) + ("right-only") ("half") ("minimal")) nil t)))) (cond ((eq mode 'none) 0) ((eq mode 'default) nil) ((eq mode 'left-only) '(nil . 0)) ((eq mode 'right-only) '(0 . nil)) ((eq mode 'half) '(5 . 5)) + ((eq mode 'minimal) '(1 . 1)) ((eq mode (intern "")) (if (eq 0 (cdr (assq 'left-fringe (if all-frames @@ -134,10 +135,10 @@ frame parameter is used." (defun fringe-mode (&optional mode) "Toggle appearance of fringes on all frames. Valid values for MODE include `none', `default', `left-only', -`right-only' and `half'. MODE can also be a cons cell where the -integer in car will be used as left fringe width and the integer in -cdr will be used as right fringe width. If MODE is not specified, the -user is queried. +`right-only', `minimal' and `half'. MODE can also be a cons cell +where the integer in car will be used as left fringe width and the +integer in cdr will be used as right fringe width. If MODE is not +specified, the user is queried. It applies to all frames that exist and frames to be created in the future. If you want to set appearance of fringes on the selected frame only, @@ -149,10 +150,10 @@ see `set-fringe-style'." (defun set-fringe-style (&optional mode) "Set appearance of fringes on selected frame. Valid values for MODE include `none', `default', `left-only', -`right-only' and `half'. MODE can also be a cons cell where the -integer in car will be used as left fringe width and the integer in -cdr will be used as right fringe width. If MODE is not specified, the -user is queried. +`right-only', `minimal' and `half'. MODE can also be a cons cell +where the integer in car will be used as left fringe width and the +integer in cdr will be used as right fringe width. If MODE is not +specified, the user is queried. If you want to set appearance of fringes on all frames, see `fringe-mode'." (interactive (list (fringe-query-style))) (modify-frame-parameters |