all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Oleksandr Gavenko <gavenko@bifit.com.ua>
To: help-gnu-emacs@gnu.org
Subject: How check when symbol is introduced in Emacs?
Date: Wed, 19 Jan 2011 12:23:59 +0200	[thread overview]
Message-ID: <ih6e3r$pus$1@dough.gmane.org> (raw)

Usually I get Error with previous Emacs version when symbol is undefined.

To workaround I use code like:

(when (or (>= emacs-major-version 23)
                   (and (= emacs-major-version 22) (>= 
emacs-minor-version 2)))
    (setq 'symb val)
   )

But I must know low limit of version to get better code.

Previously I put version when Emacs don;t fail.

Next I learn to search ChangeLog.

Next I learn use bzr repo with C-x v g and pressing a lot of 'A' command but
it to hard understand which revision goes to release.

Some symbol have properties like :version "20.4". I use it.

Please recommend another simple way or point to docs!




             reply	other threads:[~2011-01-19 10:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-19 10:23 Oleksandr Gavenko [this message]
2011-01-19 14:16 ` How check when symbol is introduced in Emacs? suvayu ali
2011-01-19 15:19 ` Eli Zaretskii
2011-01-19 16:02   ` Oleksandr Gavenko
     [not found] <mailman.4.1295432653.6673.help-gnu-emacs@gnu.org>
2011-01-19 15:15 ` Stefan Monnier

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='ih6e3r$pus$1@dough.gmane.org' \
    --to=gavenko@bifit.com.ua \
    --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.