aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/cpp.el
diff options
context:
space:
mode:
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))