mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2025-01-02 11:22:20 +00:00
Merge branch 'hotfix'
This commit is contained in:
commit
f42e40d978
@ -72,7 +72,7 @@ The return value is a string naming the thing at point."
|
||||
(re-search-backward "^[ \t]*#\\+\\([A-Z_]+\\):.*"
|
||||
(line-beginning-position) t))
|
||||
(cons "file-option" (match-string-no-properties 1)))
|
||||
((string-match "\\`[ \t]*#\\+[a-zA-Z]*\\'" line-to-here)
|
||||
((string-match "\\`[ \t]*#\\+[a-zA-Z_]*\\'" line-to-here)
|
||||
(cons "file-option" nil))
|
||||
((equal (char-before beg) ?\[)
|
||||
(cons "link" nil))
|
||||
@ -155,7 +155,7 @@ When completing for #+STARTUP, for example, this function returns
|
||||
(if (string-match "^#\\+\\([A-Z_]+:?\\)" x)
|
||||
(match-string 1 x)))
|
||||
(org-split-string (org-get-current-options) "\n"))
|
||||
org-additional-option-like-keywords)))))
|
||||
(copy-sequence org-additional-option-like-keywords))))))
|
||||
(substring pcomplete-stub 2)))
|
||||
|
||||
(defvar org-startup-options)
|
||||
|
Loading…
Reference in New Issue
Block a user