unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#6620: 24.0.50; define-minor-mode has no initial-value keyword
@ 2010-07-12 17:21 Lawrence Mitchell
  2010-07-22 11:12 ` Juanma Barranquero
  0 siblings, 1 reply; 2+ messages in thread
From: Lawrence Mitchell @ 2010-07-12 17:21 UTC (permalink / raw)
  To: 6620

Hi there,

This change:

2010-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>

       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





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#6620: 24.0.50; define-minor-mode has no initial-value keyword
  2010-07-12 17:21 bug#6620: 24.0.50; define-minor-mode has no initial-value keyword Lawrence Mitchell
@ 2010-07-22 11:12 ` Juanma Barranquero
  0 siblings, 0 replies; 2+ messages in thread
From: Juanma Barranquero @ 2010-07-22 11:12 UTC (permalink / raw)
  To: Lawrence Mitchell; +Cc: 6620-done

> Patch is simple:

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

Committed, thanks.

    Juanma





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-07-22 11:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-12 17:21 bug#6620: 24.0.50; define-minor-mode has no initial-value keyword Lawrence Mitchell
2010-07-22 11:12 ` Juanma Barranquero

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).