changeset 96636:e3997bf73655

(calc-describe-key): Add angles to special key descriptions.
author Jay Belanger <jay.p.belanger@gmail.com>
date Sun, 13 Jul 2008 05:37:09 +0000
parents 3b07c9c8f11d
children a91f8c5f29ef
files lisp/calc/calc-help.el
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/calc/calc-help.el	Sun Jul 13 04:50:39 2008 +0000
+++ b/lisp/calc/calc-help.el	Sun Jul 13 05:37:09 2008 +0000
@@ -175,6 +175,8 @@
 	  (setq desc (concat "M-" (substring desc 4))))
       (while (string-match "^M-# \\(ESC \\|C-\\)" desc)
 	(setq desc (concat "M-# " (substring desc (match-end 0)))))
+      (if (string-match "\\(DEL\\|\\LFD\\|RET\\|SPC\\|TAB\\)" desc)
+          (setq desc (replace-match "<\\&>" nil nil desc)))
       (if briefly
 	  (let ((msg (save-excursion
 		       (set-buffer (get-buffer-create "*Calc Summary*"))