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

Re: fred and wrapping



<---
| How do I get Fred windows generated by using the 'open' menu item to wrap?
| I can figure out how to do it if I create a new Fred window using the :wrap-p 
| argument, but I can't figure out how to toggle wrap for Fred windows opened
| with the menu command. It would be nice if there were a global variable that I
| could access. Is there one?
| 
|            Thanks,
| 
|                Michael Young
--->

One very easy way to do it is the following:

(defclass wrapping-fred-window (fred-window)
    ()
  (:default-initargs
    :wrap-p t))

(setq *default-editor-class*
      'wrapping-fred-window)

Guillaume.

*********************************************************************
* Guillaume Cartier                 (514) 844-5294 (maison)         *
* L.A.C.I.M.                        (514) 987-4290 (bureau)         *
* Universite du Quebec a Montreal   (514) 987-8477 (telecopieur)    *
* Montreal, Quebec, Canada          cartier@math.uqam.ca (internet) *
*********************************************************************