* lisp/calendar/calendar.el (calendar-set-mode-line):
`getenv' returns a string.
Fixes: debbugs:10951
+2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
+
+ * calendar/calendar.el (calendar-set-mode-line):
+ `getenv' returns a string. (Bug#10951)
+
2012-03-05 Leo Liu <sdl.web@gmail.com>
* simple.el (backward-delete-char-untabify): Constrain point to
;; If no frame exists yet, we have no idea what width to use.
(and (= width 10)
(not window-system)
- (setq width (or (getenv "COLUMNS") 80)))
+ (setq width (string-to-number (or (getenv "COLUMNS") "80"))))
(setq mode-line-format
(if buffer-file-name
`("-" mode-line-modified