Function: hui-select-delimited-thing

hui-select-delimited-thing is an interactive and byte-compiled function defined in hui-select.el.

Signature

(hui-select-delimited-thing)

Documentation

Select a markup pair, list, array/vector, set, comment or string at point.

Return t if selected, else nil.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hui-select.el
(defun hui-select-delimited-thing ()
  "Select a markup pair, list, array/vector, set, comment or string at point.
Return t if selected, else nil."
  (interactive)
  (prog1 (and (hui-select-delimited-thing-call #'hui-select-thing) t)
    ;; If selected region is followed by only whitespace and then a
    ;; newline, add the newline to the region.
    (when (use-region-p)
      (if (> (mark) (point))
	  (save-excursion
	    (goto-char (mark))
	    (skip-chars-forward " \t")
	    (and (char-after) (= ?\n (char-after))
		 (set-mark (1+ (point)))))
	(when (looking-at "[ \t]*\n")
	  (goto-char (match-end 0)))))))