1
0
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:
Ihor Radchenko 2023-12-19 12:50:53 +01:00
parent e3abcdbf01
commit 571186631a
No known key found for this signature in database
GPG Key ID: 6470762A7DA11D8B

View File

@ -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)))))