]> code.delx.au - gnu-emacs/blobdiff - lisp/calc/calc-units.el
* lisp/calc/calc-units.el (math-build-units-table-buffer): Use special-mode.
[gnu-emacs] / lisp / calc / calc-units.el
index 0c8920848fcc715506bed4ccde4209c41c57289c..59599608d6acdfbe5b9e8d514d4a54f21e74fd2f 100644 (file)
@@ -1628,7 +1628,7 @@ If COMP or STD is non-nil, put that in the units table instead."
                "TeX point will be `pt' instead of `texpt', for example.\n"
                "To avoid conflicts, the unit names for pint and parsec will\n"
                "be `pint' and `parsec' instead of `pt' and `pc'."))))
-         (view-mode)
+         (special-mode)
          (message "Formatting units table...done"))
        (setq math-units-table-buffer-valid t)
        (let ((oldbuf (current-buffer)))