>From 8044f65e774d3a1640f1f2f67e044ffa75991206 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=B0=2E=20G=C3=B6ktu=C4=9F=20Kayaalp?= Date: Mon, 4 Dec 2017 02:13:25 +0300 Subject: [PATCH] * lisp/files.el (not-modified) Disable this function. --- lisp/files.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lisp/files.el b/lisp/files.el index 205001e5d5..0160ab9939 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -5301,6 +5301,8 @@ not-modified "Modification-flag cleared")) (set-buffer-modified-p arg)) +(put 'not-modified 'disabled t) + (defun toggle-read-only (&optional arg interactive) "Change whether this buffer is read-only." (declare (obsolete read-only-mode "24.3")) -- 2.14.1