diff options
| author | Gerd Moellmann | 1999-10-25 12:22:14 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 1999-10-25 12:22:14 +0000 |
| commit | 9626b9283927d2233e4e4eeb6c7bbbd95ad58641 (patch) | |
| tree | 7913f4863c80ed61100f7c28223ee8b39c0d026a | |
| parent | 95260b26882cb3d52c1fb572ebc720ae676776b7 (diff) | |
| download | emacs-9626b9283927d2233e4e4eeb6c7bbbd95ad58641.tar.gz emacs-9626b9283927d2233e4e4eeb6c7bbbd95ad58641.zip | |
(auto-raise-mode): When enabling the mode,
immediately raise the selected frame.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/frame.el | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index e1c24976d29..56d64e20af7 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 1999-10-25 Richard M. Stallman <rms@caffeine.ai.mit.edu> | ||
| 2 | |||
| 3 | * frame.el (auto-raise-mode): When enabling the mode, | ||
| 4 | immediately raise the selected frame. | ||
| 5 | |||
| 1 | 1999-10-24 Stephen Eglen <stephen@gnu.org> | 6 | 1999-10-24 Stephen Eglen <stephen@gnu.org> |
| 2 | 7 | ||
| 3 | * progmodes/octave-mod.el (octave-auto-indent): Remove :version so | 8 | * progmodes/octave-mod.el (octave-auto-indent): Remove :version so |
diff --git a/lisp/frame.el b/lisp/frame.el index 2116291bb0b..e196218164f 100644 --- a/lisp/frame.el +++ b/lisp/frame.el | |||
| @@ -722,6 +722,8 @@ that is beyond the control of Emacs and this command has no effect on it." | |||
| 722 | (setq arg | 722 | (setq arg |
| 723 | (if (cdr (assq 'auto-raise (frame-parameters (selected-frame)))) | 723 | (if (cdr (assq 'auto-raise (frame-parameters (selected-frame)))) |
| 724 | -1 1))) | 724 | -1 1))) |
| 725 | (if (> arg 0) | ||
| 726 | (raise-frame (selected-frame))) | ||
| 725 | (modify-frame-parameters (selected-frame) | 727 | (modify-frame-parameters (selected-frame) |
| 726 | (list (cons 'auto-raise (> arg 0))))) | 728 | (list (cons 'auto-raise (> arg 0))))) |
| 727 | 729 | ||