0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-09-29 22:07:49 +00:00

org.el: obsolete org-in-fixed-width-region-p

* lisp/org.el (org-in-fixed-width-region-p): Make obsolete.

It has no calls in core or contrib, and its function would be better
served by using the parser.
This commit is contained in:
Aaron Ecay 2016-09-26 15:23:18 +01:00
parent 7b930dd201
commit 092acf7e67
2 changed files with 5 additions and 1 deletions

View file

@ -187,6 +187,8 @@ Counting starts at 1."
(define-obsolete-variable-alias 'org-html-style 'org-html-head "24.4")
(define-obsolete-function-alias 'org-insert-columns-dblock
'org-columns-insert-dblock "Org 9.0")
(make-obsolete 'org-in-fixed-width-region-p "the `org-element' library"
"Org 9.0")
(defcustom org-read-date-minibuffer-setup-hook nil
"Hook to be used to set up keys for the date/time interface.

View file

@ -20960,7 +20960,9 @@ See the individual commands for more information."
(org-paste-subtree arg)))
(defsubst org-in-fixed-width-region-p ()
"Is point in a fixed-width region?"
"OBSOLETE
Is point in a fixed-width region?"
(save-match-data
(eq 'fixed-width (org-element-type (org-element-at-point)))))