projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4b4166
)
Use a square root character in calc displays
author
Lars Ingebrigtsen
<larsi@gnus.org>
Tue, 15 Sep 2020 16:03:50 +0000
(18:03 +0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Tue, 15 Sep 2020 16:03:50 +0000
(18:03 +0200)
* lisp/calc/calccomp.el (math-compose-sqrt): Use a square root
character, if possible (bug#22919). Suggested by Zephyr Pellerin
<zephyr.pellerin@gmail.com>.
lisp/calc/calccomp.el
patch
|
blob
|
history
diff --git
a/lisp/calc/calccomp.el
b/lisp/calc/calccomp.el
index 0367c537b5a87befab99d00488607d88a67beecf..1f3ae842638380d99e17350833a1ce8cee0b0edb 100644
(file)
--- a/
lisp/calc/calccomp.el
+++ b/
lisp/calc/calccomp.el
@@
-1018,7
+1018,8
@@
(make-string (+ w 2) ?\_))
(list 'horiz
(if (= h 1)
- "V"
+ (if (char-displayable-p ?√)
+ "√" "V")
(append (list 'vleft (1- a))
(make-list (1- h) " |")
'("\\|")))