diff options
| author | Andreas Schwab | 2004-02-08 22:38:28 +0000 |
|---|---|---|
| committer | Andreas Schwab | 2004-02-08 22:38:28 +0000 |
| commit | e314af72c88228cbc5ca6974029292f99676ce69 (patch) | |
| tree | accba9b7eceadc483836a96d384fb8b4cadf53c4 | |
| parent | d71eb4d4f260f1cef4d4baef4a97cd80b1bfda4b (diff) | |
| download | emacs-e314af72c88228cbc5ca6974029292f99676ce69.tar.gz emacs-e314af72c88228cbc5ca6974029292f99676ce69.zip | |
(ediff-toggle-read-only): Remove extra format
string argument.
(ediff-toggle-regexp-match): Likewise.
| -rw-r--r-- | lisp/ediff-util.el | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/lisp/ediff-util.el b/lisp/ediff-util.el index d69997394e4..9550e65c2e9 100644 --- a/lisp/ediff-util.el +++ b/lisp/ediff-util.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; ediff-util.el --- the core commands and utilities of ediff | 1 | ;;; ediff-util.el --- the core commands and utilities of ediff |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1994, 95, 96, 97, 98, 99, 2000, 01, 02 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1994, 95, 96, 97, 98, 99, 2000, 01, 02, 04 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Michael Kifer <kifer@cs.stonybrook.edu> | 5 | ;; Author: Michael Kifer <kifer@cs.stonybrook.edu> |
| 6 | 6 | ||
| @@ -1080,8 +1080,10 @@ of the current buffer." | |||
| 1080 | (eq this-command 'ediff-toggle-read-only) | 1080 | (eq this-command 'ediff-toggle-read-only) |
| 1081 | (file-exists-p file) | 1081 | (file-exists-p file) |
| 1082 | (not (file-writable-p file))) | 1082 | (not (file-writable-p file))) |
| 1083 | (message "Warning: file %s is read-only" | 1083 | (progn |
| 1084 | (ediff-abbreviate-file-name file) (beep 1))) | 1084 | (beep 1) |
| 1085 | (message "Warning: file %s is read-only" | ||
| 1086 | (ediff-abbreviate-file-name file)))) | ||
| 1085 | )))) | 1087 | )))) |
| 1086 | 1088 | ||
| 1087 | ;; checkout if visited file is checked in | 1089 | ;; checkout if visited file is checked in |
| @@ -2233,7 +2235,7 @@ a regular expression typed in by the user." | |||
| 2233 | (if (y-or-n-p | 2235 | (if (y-or-n-p |
| 2234 | (format | 2236 | (format |
| 2235 | "Ignore regions that match %s regexps, OK? " | 2237 | "Ignore regions that match %s regexps, OK? " |
| 2236 | msg-connective alt-msg-connective)) | 2238 | msg-connective)) |
| 2237 | (message "Will ignore regions that match %s regexps" msg-connective) | 2239 | (message "Will ignore regions that match %s regexps" msg-connective) |
| 2238 | (setq ediff-hide-regexp-connective alt-connective) | 2240 | (setq ediff-hide-regexp-connective alt-connective) |
| 2239 | (message "Will ignore regions that match %s regexps" | 2241 | (message "Will ignore regions that match %s regexps" |
| @@ -2272,7 +2274,7 @@ a regular expression typed in by the user." | |||
| 2272 | (if (y-or-n-p | 2274 | (if (y-or-n-p |
| 2273 | (format | 2275 | (format |
| 2274 | "Focus on regions that match %s regexps, OK? " | 2276 | "Focus on regions that match %s regexps, OK? " |
| 2275 | msg-connective alt-msg-connective)) | 2277 | msg-connective)) |
| 2276 | (message "Will focus on regions that match %s regexps" | 2278 | (message "Will focus on regions that match %s regexps" |
| 2277 | msg-connective) | 2279 | msg-connective) |
| 2278 | (setq ediff-focus-regexp-connective alt-connective) | 2280 | (setq ediff-focus-regexp-connective alt-connective) |