diff options
| author | Miles Bader | 2007-08-13 13:41:28 +0000 |
|---|---|---|
| committer | Miles Bader | 2007-08-13 13:41:28 +0000 |
| commit | 37cc095b6a175fb5a2fb18fa029eaf3aa3b3fa53 (patch) | |
| tree | 7fb68e80f66e55100c48b9751cf70c74af2d4bf1 /lisp/progmodes/cpp.el | |
| parent | 031b6333283be57d971e557b83da31c6be937b0a (diff) | |
| parent | 9d2db4c6637fe37d75f947063bcb2ecce319a1bc (diff) | |
| download | emacs-37cc095b6a175fb5a2fb18fa029eaf3aa3b3fa53.tar.gz emacs-37cc095b6a175fb5a2fb18fa029eaf3aa3b3fa53.zip | |
Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-851
Diffstat (limited to 'lisp/progmodes/cpp.el')
| -rw-r--r-- | lisp/progmodes/cpp.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/progmodes/cpp.el b/lisp/progmodes/cpp.el index e85c4752412..05b8b59c00f 100644 --- a/lisp/progmodes/cpp.el +++ b/lisp/progmodes/cpp.el | |||
| @@ -623,7 +623,8 @@ You can also use the keyboard accelerators indicated like this: [K]ey." | |||
| 623 | 623 | ||
| 624 | (defun cpp-edit-toggle-known (arg) | 624 | (defun cpp-edit-toggle-known (arg) |
| 625 | "Toggle writable status for known conditionals. | 625 | "Toggle writable status for known conditionals. |
| 626 | With optional argument ARG, make them writable iff ARG is positive." | 626 | With optional argument ARG, make them writable if ARG is positive, |
| 627 | otherwise make them unwritable." | ||
| 627 | (interactive "@P") | 628 | (interactive "@P") |
| 628 | (if (or (and (null arg) cpp-known-writable) | 629 | (if (or (and (null arg) cpp-known-writable) |
| 629 | (<= (prefix-numeric-value arg) 0)) | 630 | (<= (prefix-numeric-value arg) 0)) |
| @@ -633,7 +634,8 @@ With optional argument ARG, make them writable iff ARG is positive." | |||
| 633 | 634 | ||
| 634 | (defun cpp-edit-toggle-unknown (arg) | 635 | (defun cpp-edit-toggle-unknown (arg) |
| 635 | "Toggle writable status for unknown conditionals. | 636 | "Toggle writable status for unknown conditionals. |
| 636 | With optional argument ARG, make them writable iff ARG is positive." | 637 | With optional argument ARG, make them writable if ARG is positive, |
| 638 | otherwise make them unwritable." | ||
| 637 | (interactive "@P") | 639 | (interactive "@P") |
| 638 | (if (or (and (null arg) cpp-unknown-writable) | 640 | (if (or (and (null arg) cpp-unknown-writable) |
| 639 | (<= (prefix-numeric-value arg) 0)) | 641 | (<= (prefix-numeric-value arg) 0)) |