Function: verilog-just-one-space

verilog-just-one-space is an interactive and byte-compiled function defined in verilog-mode.el.gz.

Signature

(verilog-just-one-space MYRE)

Documentation

Remove extra spaces around regular expression MYRE.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/verilog-mode.el.gz
(defun verilog-just-one-space (myre)
  "Remove extra spaces around regular expression MYRE."
  (interactive)
  (if (and (not(looking-at verilog-complete-reg))
	   (looking-at myre))
      (let ((p1 (match-end 1))
	    (p2 (match-end 2)))
	(progn
	  (goto-char p2)
	  (just-one-space)
	  (goto-char p1)
	  (just-one-space)))))