/ Published in: Emacs Lisp
Expand |
Embed | Plain Text
(let ((L ())) (mapatoms (lambda (atom) (let ((name (symbol-name atom))) (if (and (boundp atom) (string-match "-\\(hooks?\\|functions\\)\\'" name) (not (string-match "-mode-hook" name)) (not (string-match "\\`ange-ftp-" name)) (not (string-match "\\`bookmark-" name)) (not (string-match "\\`comint-" name)) (not (string-match "\\`custom-" name)) (not (string-match "\\`cl-" name)) (not (string-match "\\`byte-compile-" name)) (not (string-match "\\`Info-" name)) (not (string-match "\\`calendar-" name)) (not (string-match "\\`cperl-" name)) (not (string-match "\\`eieio-" name)) (not (string-match "\\`tramp-" name)) (not (string-match "\\`vc-" name)) (not (string-match "\\`speedbar-" name)) (not (string-match "\\`semanticdb-" name)) (not (string-match "\\`semantic-" name)) (not (string-match "\\`elscreen-" name)) (not (string-match "\\`org-" name)) (not (string-match "\\`ediff-" name)) (not (string-match "\\`w3m-" name)) (not (string-match "\\`skk-" name)) (not (string-match "\\`anything-" name)) (not (string-match "\\`rmail-" name)) (not (string-match "\\`dired-" name)) (not (string-match "\\`url-" name)) (not (string-match "\\`column-number-mode-" name)) ) (setq L (cons atom L)))))) (dolist (a (sort L (lambda (a b) (string< (symbol-name a)(symbol-name b))))) (insert (format "%s\n" a))) (length L))
You need to login to post a comment.
