all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* goto-mode-abbrev-table
@ 2007-10-26 19:31 Andreas Röhler
  0 siblings, 0 replies; only message in thread
From: Andreas Röhler @ 2007-10-26 19:31 UTC (permalink / raw)
  To: help-gnu-emacs; +Cc: Stefan Monnier


Editing abbrevs is a lot easier since I use this:

(defun goto-mode-abbrev-table (&optional ispec)
  "Goto mode abbrevs in \"\*Abbrevs\*\" "
  (interactive "p")
  (save-excursion
    (let ((mat (abbrev-table-name local-abbrev-table)))
      (prepare-abbrev-list-buffer)
      (set-buffer "*Abbrevs*")
      (when ispec 
	(switch-to-buffer (current-buffer))) 
      (widen)
      (goto-char (point-min)) 
      (search-forward (concat "(" (format "%s" mat))))))

Maybe it's useful for others too.


Andreas Röhler

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-10-26 19:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-26 19:31 goto-mode-abbrev-table Andreas Röhler

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.