all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Problem with asm-mode-hook
@ 2003-05-23  2:01 Anders K.
  2003-05-23  5:24 ` myrkraverk
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Anders K. @ 2003-05-23  2:01 UTC (permalink / raw)


I'm trying to change the assembler mode comment character from ; to #, 
so I put this at the end of ~/.emacs:

(defun my-asm-mode-hook ()
   (setq asm-comment-char ?#))
(add-hook 'asm-mode-hook 'my-asm-mode-hook)

Unfortunately, the change only takes effect starting with the second 
assembly file I open. Anyone know why? (I have a similar 
c-mode-common-hook that works perfectly.)

Anders

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-05-24  3:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-23  2:01 Problem with asm-mode-hook Anders K.
2003-05-23  5:24 ` myrkraverk
2003-05-23  5:29 ` myrkraverk
     [not found] ` <mailman.6625.1053668066.21513.help-gnu-emacs@gnu.org>
2003-05-24  3:03   ` Anders K.

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.