org-table.el: Better message when interactively toggling Row/Col display

* org-table.el (org-table-toggle-coordinate-overlays): Better
message when interactively toggling.
This commit is contained in:
Bastien Guerry 2012-08-21 20:09:25 +02:00
parent ade209b7c5
commit 51b9ad93c9
1 changed files with 1 additions and 1 deletions

View File

@ -3800,7 +3800,7 @@ Use COMMAND to do the motion, repeat if necessary to end up in a data line."
"Toggle the display of Row/Column numbers in tables."
(interactive)
(setq org-table-overlay-coordinates (not org-table-overlay-coordinates))
(message "Row/Column number display turned %s"
(message "Tables Row/Column numbers display turned %s"
(if org-table-overlay-coordinates "on" "off"))
(if (and (org-at-table-p) org-table-overlay-coordinates)
(org-table-align))