We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f206a08 commit 105f978Copy full SHA for 105f978
jcs-frametitle.el
@@ -89,6 +89,10 @@
89
;; (@* "Util" )
90
;;
91
92
+(defun jcs-frametitle-2str (obj)
93
+ "Convert OBJ to string."
94
+ (format "%s" obj))
95
+
96
;; TODO: Use function `string-pixel-width' after 29.1
97
(defun jcs-frametitle--string-pixel-width (str)
98
"Return the width of STR in pixels."
@@ -155,7 +159,7 @@
155
159
(format " (%s) "
156
160
(if-let* ((delta (- 0 default-text-scale--complement))
157
161
(delta (format (if (>= delta 0) "+%d" "%d") delta)))
158
- (propertize (jcs-modeline-2str delta)
162
+ (propertize (jcs-frametitle-2str delta)
163
'mouse-face 'mode-line-highlight
164
'help-echo (format "Default text scale %s" delta))
165
"0"))))
0 commit comments