Function: verilog-add-list-unique

verilog-add-list-unique is a byte-compiled function defined in verilog-mode.el.gz.

Signature

(verilog-add-list-unique VARREF OBJECT)

Documentation

Append to VARREF list the given OBJECT, unless it is already a member of the variable's list.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/verilog-mode.el.gz
(defun verilog-add-list-unique (varref object)
  "Append to VARREF list the given OBJECT,
unless it is already a member of the variable's list."
  (unless (member object (symbol-value varref))
    (set varref (append (symbol-value varref) (list object))))
  varref)