summaryrefslogtreecommitdiff
path: root/lisp/progmodes
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1995-05-02 03:57:27 +0000
committerRichard M. Stallman <rms@gnu.org>1995-05-02 03:57:27 +0000
commitcbf5fe859b20f741cf65a190dd4bd3f8fb462738 (patch)
tree869f38b4754e926f6ec9ac577c54a24e09879029 /lisp/progmodes
parentf360b914c9cf82094bde176bc5b8a6f03968b17f (diff)
downloademacs-cbf5fe859b20f741cf65a190dd4bd3f8fb462738.tar.gz
(hide-ifdef-mode-prefix-key): Change to C-c @.
(hide-ifdef-mode-submap): Get rid of \e from all bindings.
Diffstat (limited to 'lisp/progmodes')
-rw-r--r--lisp/progmodes/hideif.el26
1 files changed, 13 insertions, 13 deletions
diff --git a/lisp/progmodes/hideif.el b/lisp/progmodes/hideif.el
index 2b6917eaca8..a28c43a106e 100644
--- a/lisp/progmodes/hideif.el
+++ b/lisp/progmodes/hideif.el
@@ -32,7 +32,7 @@
;;; has a value. To explicitly hide ifdefs using a buffer-local
;;; define list (default empty), type
;;;
-;;; M-x hide-ifdefs or C-c h
+;;; M-x hide-ifdefs or C-c @ h
;;;
;;; Hide-ifdef suppresses the display of code that the preprocessor wouldn't
;;; pass through. The support of constant expressions in #if lines is
@@ -46,14 +46,14 @@
;;; selective-display-ellipses to nil. But this can be dangerous.
;;; You can make your buffer read-only while hide-ifdef-hiding by setting
;;; hide-ifdef-read-only to a non-nil value. You can toggle this
-;;; variable with hide-ifdef-toggle-read-only (C-c C-q).
+;;; variable with hide-ifdef-toggle-read-only (C-c @ C-q).
;;;
;;; You can undo the effect of hide-ifdefs by typing
;;;
-;;; M-x show-ifdefs or C-c s
+;;; M-x show-ifdefs or C-c @ s
;;;
-;;; Use M-x hide-ifdef-define (C-c d) to define a symbol.
-;;; Use M-x hide-ifdef-undef (C-c u) to undefine a symbol.
+;;; Use M-x hide-ifdef-define (C-c @ d) to define a symbol.
+;;; Use M-x hide-ifdef-undef (C-c @ u) to undefine a symbol.
;;;
;;; If you define or undefine a symbol while hide-ifdef-mode is in effect,
;;; the display will be updated. Only the define list for the current
@@ -75,7 +75,7 @@
;;; (hide-ifdef-use-define-alist 'list2) ; use list2 by default
;;; ))
;;;
-;;; You can call hide-ifdef-use-define-alist (C-c u) at any time to specify
+;;; You can call hide-ifdef-use-define-alist (C-c @ u) at any time to specify
;;; another list to use.
;;;
;;; To cause ifdefs to be hidden as soon as hide-ifdef-mode is called,
@@ -115,20 +115,20 @@
(defvar hide-ifdef-mode-map nil
"Keymap used with Hide-Ifdef mode.")
-(defconst hide-ifdef-mode-prefix-key "\C-c"
+(defconst hide-ifdef-mode-prefix-key "\C-c@"
"Prefix key for all Hide-Ifdef mode commands.")
;; Set up the submap that goes after the prefix key.
(if hide-ifdef-mode-submap
() ; dont redefine it.
(setq hide-ifdef-mode-submap (make-sparse-keymap))
- (define-key hide-ifdef-mode-submap "\ed" 'hide-ifdef-define)
- (define-key hide-ifdef-mode-submap "\eu" 'hide-ifdef-undef)
- (define-key hide-ifdef-mode-submap "\eD" 'hide-ifdef-set-define-alist)
- (define-key hide-ifdef-mode-submap "\eU" 'hide-ifdef-use-define-alist)
+ (define-key hide-ifdef-mode-submap "d" 'hide-ifdef-define)
+ (define-key hide-ifdef-mode-submap "u" 'hide-ifdef-undef)
+ (define-key hide-ifdef-mode-submap "D" 'hide-ifdef-set-define-alist)
+ (define-key hide-ifdef-mode-submap "U" 'hide-ifdef-use-define-alist)
- (define-key hide-ifdef-mode-submap "\eh" 'hide-ifdefs)
- (define-key hide-ifdef-mode-submap "\es" 'show-ifdefs)
+ (define-key hide-ifdef-mode-submap "h" 'hide-ifdefs)
+ (define-key hide-ifdef-mode-submap "s" 'show-ifdefs)
(define-key hide-ifdef-mode-submap "\C-d" 'hide-ifdef-block)
(define-key hide-ifdef-mode-submap "\C-s" 'show-ifdef-block)