# HG changeset patch # User Oleksandr Gavenko # Date 1557179305 -10800 # Node ID 8770e2984f5844caae72c47c032ae8f605c4acc7 # Parent 6aff838af671b634c276eab719ff92825c0ab0f8 Fix: string-to-int was removed in v26.1. diff -r 6aff838af671 -r 8770e2984f58 .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))