.emacs-my
changeset 608 9bbdc481172e
parent 607 deef9ab0fb58
child 609 f397a4d2a697
equal deleted inserted replaced
607:deef9ab0fb58 608:9bbdc481172e
  1320 (setq list-command-history-max 256)
  1320 (setq list-command-history-max 256)
  1321 
  1321 
  1322 (add-hook 'emacs-lisp-mode-hook 'turn-on-eldoc-mode)
  1322 (add-hook 'emacs-lisp-mode-hook 'turn-on-eldoc-mode)
  1323 ;; Goto elisp definition.
  1323 ;; Goto elisp definition.
  1324 (define-key emacs-lisp-mode-map (kbd "M-.") 'find-function-at-point)
  1324 (define-key emacs-lisp-mode-map (kbd "M-.") 'find-function-at-point)
       
  1325 
       
  1326 ;; http://www.emacswiki.org/emacs/PrettyLambda
       
  1327 (font-lock-add-keywords
       
  1328  'emacs-lisp-mode
       
  1329  `(
       
  1330    ("(\\<\\(lambda\\)\\>"
       
  1331     (1 (progn (compose-region (match-beginning 1) (match-end 1) ,(make-char 'greek-iso8859-7 107)) font-lock-keyword-face))
       
  1332     )
       
  1333    ))
  1325 
  1334 
  1326 ;;; ----------------------------------------------------------------
  1335 ;;; ----------------------------------------------------------------
  1327 (message "C, c-mode, C++, c++-mode")
  1336 (message "C, c-mode, C++, c++-mode")
  1328 
  1337 
  1329 (setq c-echo-syntactic-information-p t)
  1338 (setq c-echo-syntactic-information-p t)