[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Zoom on a buffer

From: Greg Hill
Subject: Re: Zoom on a buffer
Date: Fri, 22 Feb 2002 11:37:31 -0800

Sorry, I posted an old version of my zoom-in routine. This is the one I currently use.

(defun zoom-in () (interactive)
  (if (one-window-p t)
    (window-configuration-to-register ?z)
    (global-set-key [?\C-z] 'zoom-out)))

My original version allowed you to accidentally "zoom in" when there was already only one window being displayed, which can make things very confusing.


At 8:17 PM +0100 2/21/02, Alexandre Brillant wrote:
Thank for all previous response and particulary for your response which is exactly what I need.

Alexandre Brillant

Greg Hill wrote:


Try putting something like:

    (defun zoom-in () (interactive)
      (window-configuration-to-register ?z)
      (global-set-key [?\C-z] 'zoom-out))

reply via email to

[Prev in Thread] Current Thread [Next in Thread]