Function: idlwave-define-abbrev

idlwave-define-abbrev is a byte-compiled function defined in idlwave.el.gz.

Signature

(idlwave-define-abbrev NAME EXPANSION HOOK &optional NOPREFIX TABLE)

Documentation

Define-abbrev with backward compatibility.

If NOPREFIX is non-nil, don't prepend prefix character. Installs into idlwave-mode-abbrev-table unless TABLE is non-nil.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/idlwave.el.gz
(defun idlwave-define-abbrev (name expansion hook &optional noprefix table)
  ;; FIXME: `table' is never passed.
  "Define-abbrev with backward compatibility.

If NOPREFIX is non-nil, don't prepend prefix character.  Installs into
`idlwave-mode-abbrev-table' unless TABLE is non-nil."
  (let ((abbrevs-changed nil)  ;; mask the current value to avoid save
	(args (list (or table idlwave-mode-abbrev-table)
		    (if noprefix name (concat idlwave-abbrev-start-char name))
		    expansion
		    hook)))
    (condition-case nil
	(apply #'define-abbrev (append args '(0 t)))
      (error (apply #'define-abbrev args)))))