mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-02-06 20:49:33 +00:00
(auto-raise-mode): When enabling the mode,
immediately raise the selected frame.
This commit is contained in:
parent
95260b2688
commit
9626b92839
@ -1,3 +1,8 @@
|
||||
1999-10-25 Richard M. Stallman <rms@caffeine.ai.mit.edu>
|
||||
|
||||
* frame.el (auto-raise-mode): When enabling the mode,
|
||||
immediately raise the selected frame.
|
||||
|
||||
1999-10-24 Stephen Eglen <stephen@gnu.org>
|
||||
|
||||
* progmodes/octave-mod.el (octave-auto-indent): Remove :version so
|
||||
|
@ -722,6 +722,8 @@ that is beyond the control of Emacs and this command has no effect on it."
|
||||
(setq arg
|
||||
(if (cdr (assq 'auto-raise (frame-parameters (selected-frame))))
|
||||
-1 1)))
|
||||
(if (> arg 0)
|
||||
(raise-frame (selected-frame)))
|
||||
(modify-frame-parameters (selected-frame)
|
||||
(list (cons 'auto-raise (> arg 0)))))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user