]> code.delx.au - gnu-emacs/blobdiff - lisp/bindings.el
* dired.el (dired-mode-map): Menu string fixes.
[gnu-emacs] / lisp / bindings.el
index e0555a17b15c7a3038ebb2f414291aa8ab47ca69..c20a7f30eea041e8951364a62f4693aeb973d384 100644 (file)
@@ -40,8 +40,7 @@ corresponding to the mode line clicked."
   (interactive "e")
   (save-selected-window
     (select-window (posn-window (event-start event)))
-    (toggle-read-only nil t)
-    (force-mode-line-update)))
+    (call-interactively 'toggle-read-only)))
 
 (defun mode-line-toggle-modified (event)
   "Toggle the buffer-modified flag from the mode-line."
@@ -144,7 +143,7 @@ message to display when the mouse is moved over the mode line.
 If the text at the mouse position has a `help-echo' text
 property, that overrides this variable."
   :type '(choice (const :tag "No help" :value nil) string)
-  :version "24.2"
+  :version "24.3"
   :group 'mode-line)
 
 (defvar mode-line-front-space '(:eval (if (display-graphic-p) " " "-"))