From: Lawrence Mitchell <wence@gmx.li>
To: 6620@debbugs.gnu.org
Subject: bug#6620: 24.0.50; define-minor-mode has no initial-value keyword
Date: Mon, 12 Jul 2010 18:21:52 +0100 [thread overview]
Message-ID: <pvhpd3usehu7.fsf@ed.ac.uk> (raw)
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
next reply other threads:[~2010-07-12 17:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-12 17:21 Lawrence Mitchell [this message]
2010-07-22 11:12 ` bug#6620: 24.0.50; define-minor-mode has no initial-value keyword Juanma Barranquero
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=pvhpd3usehu7.fsf@ed.ac.uk \
--to=wence@gmx.li \
--cc=6620@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.