emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/lisp/progmodes/fortran.el, v [EMACS_22_BA


From: Glenn Morris
Subject: [Emacs-diffs] Changes to emacs/lisp/progmodes/fortran.el, v [EMACS_22_BASE]
Date: Mon, 22 Oct 2007 07:38:32 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Branch:         EMACS_22_BASE
Changes by:     Glenn Morris <gm>       07/10/22 07:38:32

Index: fortran.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/progmodes/fortran.el,v
retrieving revision 1.126.2.2
retrieving revision 1.126.2.3
diff -u -b -r1.126.2.2 -r1.126.2.3
--- fortran.el  8 Aug 2007 07:31:10 -0000       1.126.2.2
+++ fortran.el  22 Oct 2007 07:38:32 -0000      1.126.2.3
@@ -585,7 +585,7 @@
         ["72-column window"       fortran-window-create t]
         ["Full Width Window"
          (enlarge-window-horizontally (- (frame-width) (window-width)))
-         (< (window-width) (frame-width))]
+         (not (window-full-width-p))]
         ["Momentary 72-column window" fortran-window-create-momentarily t]
         "--"
         ["Break Line at Point"    fortran-split-line t]
@@ -944,7 +944,7 @@
 See also `fortran-window-create-momentarily'."
   (interactive)
   (let ((window-min-width 2))
-    (if (< (window-width) (frame-width))
+    (unless (window-full-width-p)
        (enlarge-window-horizontally (- (frame-width)
                                        (window-width) 1)))
     (let* ((window-edges (window-edges))




reply via email to

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