Fix: string-to-int was removed in v26.1.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Tue, 07 May 2019 00:48:25 +0300
changeset 1587 8770e2984f58
parent 1586 6aff838af671
child 1588 a2f88a6df8ab
Fix: string-to-int was removed in v26.1.
.emacs-my
--- a/.emacs-my	Tue May 07 00:45:32 2019 +0300
+++ b/.emacs-my	Tue May 07 00:48:25 2019 +0300
@@ -1509,7 +1509,7 @@
 
 ;; (setq mark-holidays-in-calendar t)
 ;; (setq all-christian-calendar-holidays t)
-;; (setq calendar-date-display-form (quote ((format "%04s-%02d-%02d" year (string-to-int month) (string-to-int day)))))
+;; (setq calendar-date-display-form (quote ((format "%04s-%02d-%02d" year (string-to-number month) (string-to-number day)))))
 ;; (setq calendar-time-display-form (quote (24-hours ":" minutes (if time-zone " (") time-zone (if time-zone ")"))))
 (setq calendar-week-start-day 1)
 (setq calendar-date-style 'iso)
@@ -3363,7 +3363,7 @@
         (if (not path)
             (message "Can't find file %s.java" file)
           (find-file-other-window path)
-          (goto-line (string-to-int line)))))))
+          (goto-line (string-to-number line)))))))
 
 (my--eval-after-load log4-hi-mode
   (define-key log4-hi-mode-map [C-return] #'my-java-exeption))