summaryrefslogtreecommitdiff
path: root/contrib/lisp/org-toc.el
diff options
context:
space:
mode:
authorNicholas D Steeves <nsteeves@gmail.com>2017-07-03 20:44:19 -0400
committerNicholas D Steeves <nsteeves@gmail.com>2017-07-03 20:57:31 -0400
commit3458b4fdfffc1b4f542405325ffa8b6eed0eb1df (patch)
tree0c9ed6fcddc796bdb92d3fc5fd266fac3b583eda /contrib/lisp/org-toc.el
parent969f455bc143bb93c745b82db358392b123661e0 (diff)
New upstream version 9.0.9+dfsg
Diffstat (limited to 'contrib/lisp/org-toc.el')
-rw-r--r--contrib/lisp/org-toc.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/lisp/org-toc.el b/contrib/lisp/org-toc.el
index a692d85..1c14a4f 100644
--- a/contrib/lisp/org-toc.el
+++ b/contrib/lisp/org-toc.el
@@ -1,6 +1,6 @@
;;; org-toc.el --- Table of contents for Org-mode buffer
-;; Copyright 2007-2016 Free Software Foundation, Inc.
+;; Copyright 2007-2017 Free Software Foundation, Inc.
;;
;; Author: Bastien Guerry <bzg@gnu.org>
;; Keywords: Org table of contents
@@ -354,7 +354,7 @@ If DELETE is non-nil, delete other windows when in the Org buffer."
(defun org-toc-quit ()
"Quit the current Org TOC buffer."
(interactive)
- (kill-this-buffer)
+ (kill-buffer)
(other-window 1)
(delete-other-windows))