mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-11-21 06:55:35 +00:00
org-mode-flyspell-verify: Do not disable flyspell inside LOGBOOK drawers
* lisp/org-compat.el (org-mode-flyspell-verify): Remove LOGBOOK drawer filter. Not checking inside LOGBOOK drawers has no clear purpose. I also see no explanation in the git logs and mailing list archives, all the way back to refactoring this function to use org-element API. * etc/ORG-NEWS (Org mode no longer prevents =flyspell= from spell-checking inside =LOGBOOK= drawers): Announce the breaking change. Reported-by: Morgan Willcock <morgan@ice9.digital> Link: https://orgmode.org/list/87jzgpvdbk.fsf@ice9.digital
This commit is contained in:
parent
66f2f5ce43
commit
86abaf6407
@ -114,6 +114,13 @@ to dynamically generate the content of the resulting ~<head>~ tag in
|
||||
the resulting HTML document.
|
||||
|
||||
** Miscellaneous
|
||||
*** Org mode no longer prevents =flyspell= from spell-checking inside =LOGBOOK= drawers
|
||||
|
||||
Previously, spell-checking via =flyspell= was disabled inside
|
||||
=LOGBOOK= (or ~org-log-into-drawer~) drawers. Now, it is no longer
|
||||
the case. It can be useful to see spelling mistakes inside notes
|
||||
added via ~org-add-note~ command.
|
||||
|
||||
*** ~ob-R~ and ~ob-julia~ no longer use ESS settings for working directory
|
||||
|
||||
Previously, without =:dir= parameter, R and Julia code blocks could
|
||||
|
@ -1597,14 +1597,6 @@ ELEMENT is the element at point."
|
||||
(let ((case-fold-search t)) (looking-at "[ \t]*#\\+CAPTION:")))
|
||||
(> (point) (match-end 0))
|
||||
(org--flyspell-object-check-p element)))
|
||||
;; Ignore checks in LOGBOOK (or equivalent) drawer.
|
||||
((let ((log (org-log-into-drawer)))
|
||||
(and log
|
||||
(let ((drawer (org-element-lineage element 'drawer)))
|
||||
(and drawer
|
||||
(org-string-equal-ignore-case
|
||||
log (org-element-property :drawer-name drawer))))))
|
||||
nil)
|
||||
(t
|
||||
(cl-case (org-element-type element)
|
||||
((comment quote-section) t)
|
||||
|
Loading…
Reference in New Issue
Block a user