Skip to main content
7 events
when toggle format what by license comment
Apr 9, 2018 at 7:29 comment added quark Thanks Tyler and matteol, combining both of your suggestions works perfectly!
Apr 7, 2018 at 8:02 comment added matteol You can replace (set-file-times (buffer-file-name)) with (set-buffer-modified-p t) (save-buffer) to avoid the warning
Apr 6, 2018 at 15:04 comment added quark When changing the time Emacs thinks that the current opened buffer is not the newest one. Therefore when making further changes in the file and executing force-compile again the warning pops up: xxx changed on disk; really edit the buffer?
Apr 6, 2018 at 15:00 comment added Tyler I don't understand - what does 'reread the buffer' mean?
Apr 6, 2018 at 14:56 comment added quark Due to the modification of the time I have to reread the buffer after each time executing force-compile
Apr 6, 2018 at 14:44 vote accept quark
Apr 6, 2018 at 14:25 history answered Tyler CC BY-SA 3.0