emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bernt Hansen <bernt@norang.ca>
To: emacs-orgmode@gnu.org
Cc: Bernt Hansen <bernt@norang.ca>
Subject: [PATCH] Report org-version after reloading
Date: Thu,  9 Apr 2009 17:19:30 -0400	[thread overview]
Message-ID: <1239311972-3362-1-git-send-email-bernt@norang.ca> (raw)

---
I'm always typing 'M-x org-version' after reloading the compiled or uncompiled
org files using 'M-x org-reload'.  This just saves me typing that extra
command each time.  Yes I'm lazy ;)

This and the following patches are available on my for-carsten branch.

-Bernt


 lisp/org.el |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/lisp/org.el b/lisp/org.el
index c17a694..249f843 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -14774,7 +14774,8 @@ With prefix arg UNCOMPILED, load the uncompiled versions."
 		  (file-exists-p (concat f ".elc")))
 	     (load (concat f ".elc") nil nil t)
 	   (load (concat f ".el") nil nil t))))
-     files)))
+     files))
+  (org-version))
 
 ;;;###autoload
 (defun org-customize ()
-- 
1.6.2.2.485.ge37347

             reply	other threads:[~2009-04-09 21:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-09 21:19 Bernt Hansen [this message]
2009-04-09 21:19 ` [PATCH] Document more org-refile related variables in the docstring Bernt Hansen
2009-04-09 21:19 ` [PATCH] org-remember: Skip creation of the default '* Notes' task Bernt Hansen
2009-04-14  6:41   ` Manish
2009-04-14 12:30     ` Bernt Hansen
2009-04-10  8:28 ` [PATCH] Report org-version after reloading Carsten Dominik

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1239311972-3362-1-git-send-email-bernt@norang.ca \
    --to=bernt@norang.ca \
    --cc=emacs-orgmode@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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.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).