Commits

Anonymous committed a944ed5

hideifdef keymap fix

  • Participants
  • Parent commits 1071b07

Comments (0)

Files changed (3)

+1999-02-06  Jan Vroonhof  <vroonhof@math.ethz.ch>
+
+	* hideif.el (hide-ifdef-mode): Don't quote keymap when passing to
+	add-minor-mode.  
+
 1998-03-25  SL Baur  <steve@altair.xemacs.org>
 
 	* ctypes.el: new file.
 
 # This XEmacs package contains independent single file lisp packages
 
-VERSION = 1.10
+VERSION = 1.11
 AUTHOR_VERSION =
 MAINTAINER = XEmacs Development Team <xemacs-beta@xemacs.org>
 PACKAGE = c-support
 (defvar hide-ifdef-mode-map nil
   "Keymap used with Hide-Ifdef mode.")
 
-(defconst hide-ifdef-mode-prefix-key "\C-c@"
+;; XEmacs Change: Use vector notation. 
+(defconst hide-ifdef-mode-prefix-key [(control c) @]
   "Prefix key for all Hide-Ifdef mode commands.")
 
 ;; Set up the submap that goes after the prefix key.
 ;                minor-mode-alist)))
 ;; XEmacs: do it right.
 ;;;###autoload
-(add-minor-mode 'hide-ifdef-mode " Ifdef" 'hide-ifdef-mode-map)
+(add-minor-mode 'hide-ifdef-mode " Ifdef" hide-ifdef-mode-map)
 
 ;; fix c-mode syntax table so we can recognize whole symbols.
 (defvar hide-ifdef-syntax-table