files: give feedback when restricted mode prevents overwriting a file
Achieve this by reusing the code that gives feedback when trying to save a buffer while using --tempfile and the file has no name yet. This fixes https://savannah.gnu.org/bugs/?48622.
Showing
+17 -18
Please register or sign in to comment