mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-22 10:26:20 +00:00
(set-fringe-mode): Work when updating
`default-frame-alist'.
This commit is contained in:
parent
9e8abde7d3
commit
608d30f7be
@ -1,3 +1,8 @@
|
||||
2002-05-26 Simon Josefsson <jas@extundo.com>
|
||||
|
||||
* fringe.el (set-fringe-mode): Work when updating
|
||||
`default-frame-alist'.
|
||||
|
||||
2002-05-26 Kim F. Storm <storm@cua.dk>
|
||||
|
||||
* emulation/cua-base.el (cua--repeat-replace-text): New variable.
|
||||
|
@ -51,7 +51,9 @@ See `fringe-mode' for possible values and their effect."
|
||||
;; Apply it to default-frame-alist.
|
||||
(let ((parameter (assq 'left-fringe default-frame-alist)))
|
||||
(if (consp parameter)
|
||||
(setcdr parameter fringe-mode)
|
||||
(setcdr parameter (if (consp fringe-mode)
|
||||
(car fringe-mode)
|
||||
fringe-mode))
|
||||
(setq default-frame-alist
|
||||
(cons (cons 'left-fringe (if (consp fringe-mode)
|
||||
(car fringe-mode)
|
||||
@ -59,7 +61,9 @@ See `fringe-mode' for possible values and their effect."
|
||||
default-frame-alist))))
|
||||
(let ((parameter (assq 'right-fringe default-frame-alist)))
|
||||
(if (consp parameter)
|
||||
(setcdr parameter fringe-mode)
|
||||
(setcdr parameter (if (consp fringe-mode)
|
||||
(cdr fringe-mode)
|
||||
fringe-mode))
|
||||
(setq default-frame-alist
|
||||
(cons (cons 'right-fringe (if (consp fringe-mode)
|
||||
(cdr fringe-mode)
|
||||
|
Loading…
Reference in New Issue
Block a user