From: Eric Schulte <schulte.eric@gmail.com>
To: Org Mode <emacs-orgmode@gnu.org>
Subject: [patch] `org-pop-to-buffer-same-window' working with Emacs24
Date: Sun, 04 Sep 2011 10:16:47 -0600 [thread overview]
Message-ID: <87k49o8eq8.fsf@gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 326 bytes --]
Hi,
I assume this change was required due to changes in Emacs24, but I had
to remove an argument to pop-to-buffer-same-window in
org-pop-to-buffer-same-window to fix editing of source code snippets.
The patch is attached, although I'm not sure if it would break this
function for all other versions of Emacs.
Best -- Eric
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-remove-extra-argument-in-call-to-pop-to-buffer-same-.patch --]
[-- Type: text/x-diff, Size: 1004 bytes --]
From 6ed9419b73450d6b72392bb040a7ffeacd41f542 Mon Sep 17 00:00:00 2001
From: Eric Schulte <schulte.eric@gmail.com>
Date: Sat, 3 Sep 2011 14:01:49 -0600
Subject: [PATCH] remove extra argument in call to pop-to-buffer-same-window
* lisp/org-compat.el (org-pop-to-buffer-same-window): Remove extra
argument in call to pop-to-buffer-same-window.
---
lisp/org-compat.el | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lisp/org-compat.el b/lisp/org-compat.el
index 3e9c202..3577db6 100644
--- a/lisp/org-compat.el
+++ b/lisp/org-compat.el
@@ -438,7 +438,7 @@ With two arguments, return floor and remainder of their quotient."
"Pop to buffer specified by BUFFER-OR-NAME in the selected window."
(if (fboundp 'pop-to-buffer-same-window)
(funcall
- 'pop-to-buffer-same-window buffer-or-name norecord label)
+ 'pop-to-buffer-same-window buffer-or-name norecord)
(funcall 'switch-to-buffer buffer-or-name norecord)))
(provide 'org-compat)
--
1.7.4.1
[-- Attachment #3: Type: text/plain, Size: 47 bytes --]
--
Eric Schulte
http://cs.unm.edu/~eschulte/
next reply other threads:[~2011-09-04 16:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-04 16:16 Eric Schulte [this message]
2011-09-04 17:01 ` [patch] `org-pop-to-buffer-same-window' working with Emacs24 Bastien
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=87k49o8eq8.fsf@gmail.com \
--to=schulte.eric@gmail.com \
--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).