(if pascal-outline-map
nil
- (if (boundp 'set-keymap-name)
+ (if (fboundp 'set-keymap-name)
(set-keymap-name pascal-outline-map 'pascal-outline-map))
- (if (not (boundp 'set-keymap-parent))
- (setq pascal-outline-map (copy-keymap pascal-mode-map))
- (setq pascal-outline-map (make-sparse-keymap))
- (set-keymap-parent pascal-outline-map pascal-mode-map))
+ (if (fboundp 'set-keymap-parent)
+ (set-keymap-parent (setq pascal-outline-map (make-sparse-keymap))
+ pascal-mode-map)
+ (setq pascal-outline-map (copy-keymap pascal-mode-map)))
(define-key pascal-outline-map "\M-\C-a" 'pascal-outline-prev-defun)
(define-key pascal-outline-map "\M-\C-e" 'pascal-outline-next-defun)
(define-key pascal-outline-map "\C-c\C-d" 'pascal-outline-goto-defun)
(interactive "P")
(setq pascal-outline-mode
(if (null arg) (not pascal-outline-mode) t))
- (if (boundp 'redraw-mode-line)
+ (if (fboundp 'redraw-mode-line)
(redraw-mode-line))
(if pascal-outline-mode
(progn