aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/cpp.el
diff options
context:
space:
mode:
authorMiles Bader2007-08-13 13:48:35 +0000
committerMiles Bader2007-08-13 13:48:35 +0000
commitb2e6b10fe2d40020a75ab0025af98a4abf339cd2 (patch)
treedb265e5ea93cdc13f8e3b54ed5c7ad2869d50ec9 /lisp/progmodes/cpp.el
parent905350bef3ebc514a418658dd155c1d062664b56 (diff)
parent37cc095b6a175fb5a2fb18fa029eaf3aa3b3fa53 (diff)
downloademacs-b2e6b10fe2d40020a75ab0025af98a4abf339cd2.tar.gz
emacs-b2e6b10fe2d40020a75ab0025af98a4abf339cd2.zip
Merge from emacs--devo--0
Patches applied: * emacs--devo--0 (patch 846-851) - Update from CVS - Merge from emacs--rel--22 * emacs--rel--22 (patch 88-92) - Update from CVS - Merge from gnus--rel--5.10 * gnus--rel--5.10 (patch 242-244) - Update from CVS Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-246
Diffstat (limited to 'lisp/progmodes/cpp.el')
-rw-r--r--lisp/progmodes/cpp.el6
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.
626With optional argument ARG, make them writable iff ARG is positive." 626With optional argument ARG, make them writable if ARG is positive,
627otherwise 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.
636With optional argument ARG, make them writable iff ARG is positive." 637With optional argument ARG, make them writable if ARG is positive,
638otherwise 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))