1
0
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:
Gerd Moellmann 1999-10-25 12:22:14 +00:00
parent 95260b2688
commit 9626b92839
2 changed files with 7 additions and 0 deletions

View File

@ -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

View File

@ -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)))))