• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/emacs-93/emacs/lisp/progmodes/

Lines Matching +defs:kill +defs:emacs +defs:hook

57 ;; lines to your .emacs file:
110 ;; code in .emacs. For an example of what to put into .emacs, check
111 ;; the TexInfo documentation or see a complete .emacs available at the
125 ;; emacs abbrev expansion done by the self-insert-command. It ends
129 ;; using a temporary function in `post-command-hook' - not pretty,
191 :link '(emacs-commentary-link :tag "Commentary in idlw-shell.el"
193 :link '(emacs-commentary-link :tag "Commentary in idlwave.el" "idlwave.el")
404 '(find-file save-buffer kill-buffer compile-buffer)
412 kill-buffer Remove buffer info when buffer gets killed
421 (const :tag "After a buffer was killed" kill-buffer)
764 Changes to this in `idlwave-mode-hook' will have no effect. Instead a user
765 must set it directly using `setq' in the .emacs file before idlwave.el
813 "*Non-nil means the abbrev hook can move point.
843 ;; can be modified/set in idlwave-mode-hook, but it is easier to use
974 (defcustom idlwave-timestamp-hook 'idlwave-default-insert-timestamp
975 "*The hook function used to update the timestamp of a function."
1105 (defcustom idlwave-mode-hook nil
1106 "Normal hook. Executed when a buffer is put into `idlwave-mode'."
1108 :type 'hook)
1110 (defcustom idlwave-load-hook nil
1111 "Normal hook. Executed when idlwave.el is loaded."
1113 :type 'hook)
1581 (define-key idlwave-mode-map "\C-c\C-k" 'idlwave-kill-autoloaded-buffers)
1633 ;;; When expanding abbrevs and the abbrev hook moves backward, an extra
1641 (defun idlwave-define-abbrev (name expansion hook &optional noprefix table)
1650 hook)))
1885 Loading idlwave.el runs `idlwave-load-hook'.
1886 Turning on `idlwave-mode' runs `idlwave-mode-hook'.
1905 (kill-all-local-variables)
1917 (set idlwave-comment-indent-function 'idlwave-comment-hook)
1979 ;; Make a local post-command-hook and add our hook to it
1980 ;; NB: `make-local-hook' needed for older/alternative Emacs compatibility
1981 ;; (make-local-hook 'post-command-hook)
1982 (add-hook 'post-command-hook 'idlwave-command-hook nil 'local)
1985 ;; NB: `make-local-hook' needed for older/alternative Emacs compatibility
1986 ;; (make-local-hook 'kill-buffer-hook)
1987 (add-hook 'kill-buffer-hook 'idlwave-kill-buffer-update nil 'local)
1988 ;; (make-local-hook 'after-save-hook)
1989 (add-hook 'after-save-hook 'idlwave-save-buffer-update nil 'local)
1990 (add-hook 'after-save-hook 'idlwave-revoke-license-to-kill nil 'local)
2001 ;; Run the mode hook
2002 (run-mode-hooks 'idlwave-mode-hook))
2046 (defvar idlwave-command-hook nil
2048 It is evaluated in the lisp function `idlwave-command-hook' which is
2049 placed in `post-command-hook'.")
2051 (defun idlwave-command-hook ()
2053 Evaluates a non-nil value of the *variable* `idlwave-command-hook' and
2055 (and idlwave-command-hook
2056 (listp idlwave-command-hook)
2058 (eval idlwave-command-hook)
2060 (setq idlwave-command-hook nil))
2089 (if (boundp 'post-command-hook)
2090 (setq idlwave-command-hook (list 'backward-char (1+ arg)))
2357 (defun idlwave-comment-hook ()
2824 (idlwave-indent-left-margin (idlwave-comment-hook)))
3661 (run-hooks 'idlwave-timestamp-hook))
3667 ;;; abbrev hook associated with an abbrev moves point backwards
3673 ;;; abbrev hook from moving backwards.
3906 Buffers in this list may be killed by `idlwave-kill-autoloaded-buffers'.")
3915 (defun idlwave-kill-autoloaded-buffers ()
3917 Function prompts for a letter to identify the buffers to kill.
3936 (idlwave-do-kill-autoloaded-buffers 'find))
3938 (idlwave-do-kill-autoloaded-buffers 'shell))
3940 (idlwave-do-kill-autoloaded-buffers t))
3950 (defun idlwave-do-kill-autoloaded-buffers (&rest reasons)
3959 (kill-buffer (car entry))
3967 (defun idlwave-revoke-license-to-kill ()
3969 Killing would be done by `idlwave-do-kill-autoloaded-buffers'.
3970 Intended for `after-save-hook'."
3977 ;; Remove this function from the hook.
3978 (remove-hook 'after-save-hook 'idlwave-revoke-license-to-kill 'local)))
4047 (kill-buffer buffer))
4084 (kill-buffer errbuf))
4383 (kill-process idlwave-catalog-process)
4392 (defvar idlwave-update-rinfo-hook nil
4410 (kill-process idlwave-catalog-process)
4415 (kill-process idlwave-catalog-process)
4421 (let* ((emacs (concat invocation-directory invocation-name))
4423 "-l" (expand-file-name "~/.emacs")
4427 nil emacs args)))
5115 (run-hooks 'idlwave-after-load-rinfo-hook))
5140 (defun idlwave-concatenate-rinfo-lists (&optional quiet run-hook)
5161 (if run-hook
5162 (run-hooks 'idlwave-update-rinfo-hook)))
5177 (defun idlwave-kill-buffer-update ()
5178 (idlwave-update-current-buffer-info 'kill-buffer))
5183 "Update idlwave-routines for current buffer. Can run from after-save-hook."
5193 (if (eq why 'kill-buffer)
5383 '(idlwave-user-catalog-command-hook nil)
5388 (defun idlwave-user-catalog-command-hook (&optional arg)
5389 ;; Command hook used by `idlwave-create-user-catalog-file'.
5427 (kill-buffer (get-buffer-create "*IDLWAVE Widget*"))
5429 (kill-all-local-variables)
5465 (kill-buffer (current-buffer)))
5549 (kill-buffer "*idlwave-scan.pro*")
5550 (kill-buffer (get-buffer-create "*IDLWAVE Widget*"))
5574 (kill-buffer (current-buffer)))
5615 (kill-buffer (current-buffer))))
5863 ;; particular, .RESET_SESSION will kill all user procedures. If
6862 (>= emacs-major-version 21)))
6961 (setq menu (idlwave-split-menu-emacs menu maxpopup))
6990 (defun idlwave-split-menu-emacs (menu N)
7018 (defvar idlwave-completion-setup-hook nil)
7048 (idlwave-display-completion-list-emacs list))
7062 ;; Run the hook
7063 (run-hooks 'idlwave-completion-setup-hook)
7106 (temp-buffer-show-hook (if (fboundp 'fit-window-to-buffer)
7232 (defun idlwave-display-completion-list-emacs (list)
7241 (idlwave-make-modified-completion-map-emacs
7244 (defun idlwave-make-modified-completion-map-emacs (old-map)
7394 (add-hook 'idlwave-update-rinfo-hook
7396 (add-hook 'idlwave-after-load-rinfo-hook
7434 (defun idlwave-find-class-definition (class &optional all-hook alt-class)
7443 (if all-hook
7449 (funcall all-hook name)))
7605 (add-hook 'idlwave-update-rinfo-hook 'idlwave-class-tag-reset)
7664 (add-hook 'idlwave-update-rinfo-hook 'idlwave-sysvars-reset)
7665 (add-hook 'idlwave-after-load-rinfo-hook 'idlwave-sintern-sysvar-alist)
9222 ["Kill auto-created buffers" idlwave-kill-autoloaded-buffers t]
9320 to call a hook. These hooks are used to change the case of words or
9323 With arg, list all abbrevs with the corresponding hook.
9386 ;; Run the hook
9387 (run-hooks 'idlwave-load-hook)