emacs-config/local/lib/org-x/test/org-x-test-buffer-state.el

37 lines
1.1 KiB
EmacsLisp

;;; org-x-text-buffer-state.el --- Examples for org.el's API -*- lexical-binding: t -*-
;; Copyright (C) 2015 Free Software Foundation, Inc.
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
;; along with this program. If not, see <http://www.gnu.org/licenses/>.
;;; Commentary:
;;; Code:
(require 's)
(require 'dash)
(require 'org-x)
(def-example-group "String Conversion"
"Convert nodes to strings."
(defexamples-content org-x-is-timestamped-heading-p
nil
(:buffer "* headline")
(org-x-is-timestamped-heading-p)
=> nil))
(provide 'org-x-test-buffer-state)
;;; org-x-test-buffer-state.el ends here