mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-12-13 09:32:19 +00:00
lisp/org-macs.el (org-current-text-column): Improve error message
The previous version is apparently not clear enough for some people. Link: https://list.orgmode.org/412FBC9A-3DA2-48A7-A57F-AA90A40B5BEA@gmail.com/T/#t
This commit is contained in:
parent
e3abcdbf01
commit
571186631a
@ -1155,7 +1155,7 @@ This function forces `tab-width' value because it is used as a part of
|
||||
the parser, to ensure parser consistency when calculating list
|
||||
indentation."
|
||||
`(progn
|
||||
(unless (= 8 tab-width) (error "Tab width in Org files must be 8, not %d." tab-width))
|
||||
(unless (= 8 tab-width) (error "Tab width in Org files must be 8, not %d. Please adjust your `tab-width' settings for Org mode." tab-width))
|
||||
(string-width (buffer-substring-no-properties
|
||||
(line-beginning-position) (point)))))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user