all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: pmlists@free.fr (Peter Münster)
To: help-gnu-emacs@gnu.org
Cc: emacs-devel@gnu.org
Subject: Re: Major mode weirdness.
Date: Wed, 13 Jul 2011 23:37:46 +0200	[thread overview]
Message-ID: <878vs1276d.fsf@micropit.couberia.bzh> (raw)
In-Reply-To: 87oc0xyj26.fsf@gilead.invalid

On Wed, Jul 13 2011, Daniel Schoepe wrote:

> At any rate, I guess the docstring for default-major-mode possibly
> should say more than just "use `major-mode' instead" though.

Here a tiny patch (cross-post to emacs.devel):

=== modified file 'lisp/subr.el'
--- lisp/subr.el	2011-07-02 04:27:41 +0000
+++ lisp/subr.el	2011-07-13 21:31:03 +0000
@@ -1174,7 +1174,8 @@
 (make-obsolete-variable 'default-buffer-file-type 'buffer-file-type "23.2")
 (make-obsolete-variable 'default-cursor-in-non-selected-windows 'cursor-in-non-selected-windows "23.2")
 (make-obsolete-variable 'default-buffer-file-coding-system 'buffer-file-coding-system "23.2")
-(make-obsolete-variable 'default-major-mode 'major-mode "23.2")
+(make-obsolete-variable 'default-major-mode
+                        "use (setq-default major-mode ...) instead" "23.2")
 (make-obsolete-variable 'default-enable-multibyte-characters
       "use enable-multibyte-characters or set-buffer-multibyte instead" "23.2")

-- 
           Peter




  reply	other threads:[~2011-07-13 21:37 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-13 15:25 Major mode weirdness R. Clayton
2011-07-13 17:15 ` Daniel Schoepe
2011-07-13 18:37 ` Valentin Plechinger
2011-07-13 20:41   ` R. Clayton
2011-07-13 21:07     ` Valentin Plechinger
2011-07-13 21:20       ` Daniel Schoepe
2011-07-13 21:37         ` Peter Münster [this message]
2011-07-13 21:59         ` PJ Weisberg
2011-07-13 19:42 ` PJ Weisberg

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=878vs1276d.fsf@micropit.couberia.bzh \
    --to=pmlists@free.fr \
    --cc=emacs-devel@gnu.org \
    --cc=help-gnu-emacs@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.