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

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

[Emacs-bug-tracker] bug#6620: closed (24.0.50; define-minor-mode has no


From: GNU bug Tracking System
Subject: [Emacs-bug-tracker] bug#6620: closed (24.0.50; define-minor-mode has no initial-value keyword)
Date: Thu, 22 Jul 2010 11:13:02 +0000

Your message dated Thu, 22 Jul 2010 13:12:29 +0200
with message-id <address@hidden>
and subject line Re: bug#6620: 24.0.50; define-minor-mode has no initial-value 
keyword
has caused the GNU bug report #6620,
regarding 24.0.50; define-minor-mode has no initial-value keyword
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
6620: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=6620
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 24.0.50; define-minor-mode has no initial-value keyword Date: Mon, 12 Jul 2010 18:21:52 +0100
Hi there,

This change:

2010-05-03  Stefan Monnier  <address@hidden>

       Use define-minor-mode where applicable.

Introduced an erroneous :initial-value keyword into the definition of
vt100-wide-mode.  The correct keyword is :init-value.

Patch is simple:

diff --git a/lisp/term/vt100.el b/lisp/term/vt100.el
index 017c976..24561fe 100644
--- a/lisp/term/vt100.el
+++ b/lisp/term/vt100.el
@@ -45,7 +45,7 @@
   "Toggle 132/80 column mode for vt100s.
 With positive argument, switch to 132-column mode.
 With negative argument, switch to 80-column mode."
-  :global t :initial-value (= (frame-width) 132)
+  :global t :init-value (= (frame-width) 132)
   (send-string-to-terminal (if vt100-wide-mode "\e[?3h" "\e[?3l"))
   (set-frame-width terminal-frame (if vt100-wide-mode 132 80)))



Cheers,
Lawrence



--- End Message ---
--- Begin Message --- Subject: Re: bug#6620: 24.0.50; define-minor-mode has no initial-value keyword Date: Thu, 22 Jul 2010 13:12:29 +0200
> Patch is simple:

> -  :global t :initial-value (= (frame-width) 132)
> +  :global t :init-value (= (frame-width) 132)

Committed, thanks.

    Juanma


--- End Message ---

reply via email to

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