Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 532358

Summary: app-emacs/css-mode with app-editors/emacs-24.4 - Symbol's function definition is void: apropos-macrop // File mode specification error: (void-function apropos-macrop)
Product: Gentoo Linux Reporter: Hans de Graaff <graaff>
Component: [OLD] DevelopmentAssignee: Emacs project <emacs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Hans de Graaff gentoo-dev Security 2014-12-12 10:24:00 UTC
According to --debug-init: entered--Lisp error: (void-function apropos-macrop)

This is a run-time error and reinstalling the package with 24.4 does not help.

A non-backwards-compatible fix is discussed here: http://stackoverflow.com/questions/20135194/emacs-css-mode-not-loading

According to ulm on IRC we probably need something like 

(defalias 'css-macrop (if (fboundp 'macrop) 'macrop) 'apropos-macrop)

to fix this for all emacs versions.
Comment 1 Ulrich Müller gentoo-dev 2014-12-12 23:50:51 UTC
Fixed in -r1.

(In reply to Hans de Graaff from comment #0)
> According to ulm on IRC we probably need something like 
> 
> (defalias 'css-macrop (if (fboundp 'macrop) 'macrop) 'apropos-macrop)

I have taken a simpler approach, namely removed the code that was calling apropos-macrop. It was only needed for backwards compatibility with Emacs 19.