[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] [patch] `org-pop-to-buffer-same-window' working with Emacs24
From: |
Eric Schulte |
Subject: |
[O] [patch] `org-pop-to-buffer-same-window' working with Emacs24 |
Date: |
Sun, 04 Sep 2011 10:16:47 -0600 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
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
>From 6ed9419b73450d6b72392bb040a7ffeacd41f542 Mon Sep 17 00:00:00 2001
From: Eric Schulte <address@hidden>
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
--
Eric Schulte
http://cs.unm.edu/~eschulte/
- [O] [patch] `org-pop-to-buffer-same-window' working with Emacs24,
Eric Schulte <=