bug-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Bug in x-create-frame primitive


From: Richard Stallman
Subject: Re: Bug in x-create-frame primitive
Date: Mon, 18 Mar 2002 02:06:23 -0700 (MST)

Setting text-mode-hook to a symbol is an obsolete way to use it, but I
think this error in make-frame is a bug nonetheless.  Does this fix
it?  You need to recompile menu-bar.el and redump Emacs.

*** menu-bar.el.~1.203.~        Wed Feb 20 17:22:30 2002
--- menu-bar.el Mon Mar 18 03:14:22 2002
***************
*** 782,788 ****
                ;; -- Per Abrahamsen <abraham@dina.kvl.dk> 2002-02-11.
                (customize-mark-as-set 'text-mode-hook))
              :help "Automatically fill text between left and right margins"
!               :button (:toggle . (member 'turn-on-auto-fill text-mode-hook))))
  (define-key menu-bar-options-menu [truncate-lines]
    '(menu-item "Truncate Long Lines in this Buffer"
              (lambda ()
--- 782,790 ----
                ;; -- Per Abrahamsen <abraham@dina.kvl.dk> 2002-02-11.
                (customize-mark-as-set 'text-mode-hook))
              :help "Automatically fill text between left and right margins"
!               :button (:toggle . (if (listp text-mode-hook)
!                                    (member 'turn-on-auto-fill text-mode-hook)
!                                  (eq 'turn-on-auto-fill text-mode-hook)))))
  (define-key menu-bar-options-menu [truncate-lines]
    '(menu-item "Truncate Long Lines in this Buffer"
              (lambda ()



reply via email to

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