Function: smart-asm
smart-asm is an interactive and byte-compiled function defined in
hmouse-tag.el.
Signature
(smart-asm &optional IDENTIFIER NEXT)
Documentation
Jump to the definition of optional assembly IDENTIFIER or the one at point.
Optional second arg NEXT means jump to next matching assembly tag.
It assumes that its caller has already checked that the key was pressed in an appropriate buffer and has moved the cursor to the selected buffer.
If:
(1) on an include statement, the include file is displayed;
Look for include file in directory list smart-asm-include-path;
(2) on an identifier, the identifier definition is displayed,
assuming the identifier is found within an etags generated tag file
in the current directory or any of its ancestor directories.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hmouse-tag.el
;;; ************************************************************************
;;; Public functions
;;; ************************************************************************
(defun smart-asm (&optional identifier next)
"Jump to the definition of optional assembly IDENTIFIER or the one at point.
Optional second arg NEXT means jump to next matching assembly tag.
It assumes that its caller has already checked that the key was pressed in an
appropriate buffer and has moved the cursor to the selected buffer.
If:
(1) on an include statement, the include file is displayed;
Look for include file in directory list `smart-asm-include-path';
(2) on an identifier, the identifier definition is displayed,
assuming the identifier is found within an `etags' generated tag file
in the current directory or any of its ancestor directories."
(interactive)
(or (if identifier nil (smart-asm-include-file))
(let ((tag (or identifier (smart-asm-at-tag-p t))))
;; (message "Looking for `%s'..." tag)
(condition-case ()
(progn
(smart-tags-display tag next)
;; (message "Found definition for `%s'" tag)
t)
(error (message "(smart-asm): `%s' definition not found in identifier lookup/tag tables" tag)
(beep))))))