forked from mirrors/org-mode
lisp/org.el: Define `org-rear-nonsticky-at' defsubst before its first usage
This fixes compiler warning.
This commit is contained in:
parent
d5006e195a
commit
01bf57488c
12
lisp/org.el
12
lisp/org.el
|
@ -5100,6 +5100,12 @@ stacked delimiters is N. Escaping delimiters is not possible."
|
|||
|
||||
(defvar org-emph-face nil)
|
||||
|
||||
(defconst org-nonsticky-props
|
||||
'(mouse-face highlight keymap invisible intangible help-echo org-linked-text htmlize-link))
|
||||
|
||||
(defsubst org-rear-nonsticky-at (pos)
|
||||
(add-text-properties (1- pos) pos (list 'rear-nonsticky org-nonsticky-props)))
|
||||
|
||||
(defun org-do-emphasis-faces (limit)
|
||||
"Run through the buffer and emphasize strings."
|
||||
(let ((quick-re (format "\\([%s]\\|^\\)\\([~=*/_+]\\)"
|
||||
|
@ -5209,12 +5215,6 @@ prompted for."
|
|||
(insert string)
|
||||
(and move (backward-char 1))))
|
||||
|
||||
(defconst org-nonsticky-props
|
||||
'(mouse-face highlight keymap invisible intangible help-echo org-linked-text htmlize-link))
|
||||
|
||||
(defsubst org-rear-nonsticky-at (pos)
|
||||
(add-text-properties (1- pos) pos (list 'rear-nonsticky org-nonsticky-props)))
|
||||
|
||||
(defun org-activate-links--overlays (limit)
|
||||
"Add link properties to links.
|
||||
This includes angle, plain, and bracket links."
|
||||
|
|
Loading…
Reference in New Issue