equal
deleted
inserted
replaced
1326 |
1326 |
1327 (add-hook 'emacs-lisp-mode-hook 'turn-on-eldoc-mode) |
1327 (add-hook 'emacs-lisp-mode-hook 'turn-on-eldoc-mode) |
1328 |
1328 |
1329 (defun my-elisp-find-tag () |
1329 (defun my-elisp-find-tag () |
1330 (interactive) |
1330 (interactive) |
|
1331 (ring-insert find-tag-marker-ring (point-marker)) |
1331 (unless (find-variable-at-point) |
1332 (unless (find-variable-at-point) |
1332 (find-function-at-point) |
1333 (find-function-at-point) |
1333 )) |
1334 )) |
1334 ;; Goto elisp definition. |
1335 ;; Goto elisp definition. |
1335 (define-key emacs-lisp-mode-map (kbd "M-.") 'my-elisp-find-tag) |
1336 (define-key emacs-lisp-mode-map (kbd "M-.") 'my-elisp-find-tag) |