mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-04 08:47:11 +00:00
Fix XEmacs-specific clause in definition of pascal-outline-map.
* lisp/progmodes/pascal.el (pascal-outline-map): Call set-keymap-name on map, not pascal-outline-map, as the latter is not yet defined.
This commit is contained in:
parent
3d2c82ac96
commit
79fe320566
@ -1392,7 +1392,7 @@ The default is a name found in the buffer around point."
|
||||
(defvar pascal-outline-map
|
||||
(let ((map (make-sparse-keymap)))
|
||||
(if (fboundp 'set-keymap-name)
|
||||
(set-keymap-name pascal-outline-map 'pascal-outline-map))
|
||||
(set-keymap-name map 'pascal-outline-map))
|
||||
(define-key map "\M-\C-a" 'pascal-outline-prev-defun)
|
||||
(define-key map "\M-\C-e" 'pascal-outline-next-defun)
|
||||
(define-key map "\C-c\C-d" 'pascal-outline-goto-defun)
|
||||
|
Loading…
Reference in New Issue
Block a user